Author: Lars Wassermann <[email protected]>
Branch:
Changeset: r393:293ebf9ed46a
Date: 2013-05-15 18:28 +0000
http://bitbucket.org/pypy/lang-smalltalk/changeset/293ebf9ed46a/
Log: moved the s_method retrival in c_loop outside of the loop
diff --git a/spyvm/interpreter.py b/spyvm/interpreter.py
--- a/spyvm/interpreter.py
+++ b/spyvm/interpreter.py
@@ -89,9 +89,9 @@
old_pc = 0
if not jit.we_are_jitted() and may_context_switch:
self.quick_check_for_interrupt(s_context)
+ method = s_context.s_method()
while True:
pc = s_context.pc()
- method = s_context.s_method()
if pc < old_pc:
if jit.we_are_jitted():
self.quick_check_for_interrupt(s_context,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit