1. Pypy
  2. Untitled project
  3. lang-smalltalk

Commits

Lars Wassermann  committed 293ebf9

moved the s_method retrival in c_loop outside of the loop

  • Participants
  • Parent commits b1bce04
  • Branches default

Comments (0)

Files changed (1)

File spyvm/interpreter.py

View file
  • Ignore whitespace
         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,