[pypy-commit] pypy stmgc-c7: Oups
arigo
noreply at buildbot.pypy.org
Sat Mar 21 12:03:14 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r76491:1a696d049ba6
Date: 2015-03-21 11:51 +0100
http://bitbucket.org/pypy/pypy/changeset/1a696d049ba6/
Log: Oups
diff --git a/rpython/annotator/annrpython.py b/rpython/annotator/annrpython.py
--- a/rpython/annotator/annrpython.py
+++ b/rpython/annotator/annrpython.py
@@ -17,11 +17,6 @@
log = py.log.Producer("annrpython")
py.log.setconsumer("annrpython", ansi_log)
-try:
- from pypystm import stmset
-except ImportError:
- stmset = set
-
class RPythonAnnotator(object):
"""Block annotator for RPython.
@@ -40,7 +35,7 @@
self.annotated = {} # set of blocks already seen
self.links_followed = {} # set of links that have ever been followed
self.notify = {} # {block: {positions-to-reflow-from-when-done}}
- self.fixed_graphs = {} # set of graphs not to annotate again
+ self.fixed_graphs = set() # set of graphs not to annotate again
self.blocked_blocks = {} # set of {blocked_block: (graph, index)}
# --- the following information is recorded for debugging ---
self.blocked_graphs = {} # set of graphs that have blocked blocks
More information about the pypy-commit
mailing list