Author: Armin Rigo <[email protected]>
Branch: stm-gc
Changeset: r52564:f5f411743418
Date: 2012-02-16 19:48 +0100
http://bitbucket.org/pypy/pypy/changeset/f5f411743418/
Log: 'access_directly' seems necessary to avoid merges in the call graph.
diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -150,9 +150,11 @@
w_inputvalue is for generator.send() and operr is for
generator.throw().
"""
- self = hint(self, stm_write=True)
- #hint(self.locals_stack_w, stm_write=True) -- later
- #hint(self.cells, stm_immutable=True) -- later
+ if self.space.config.translation.stm:
+ self = hint(self, stm_write=True)
+ #hint(self.locals_stack_w, stm_write=True) -- later
+ #hint(self.cells, stm_immutable=True) -- later
+ self = hint(self, access_directly=True)
# the following 'assert' is an annotation hint: it hides from
# the annotator all methods that are defined in PyFrame but
# overridden in the {,Host}FrameClass subclasses of PyFrame.
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit