Commits

Armin Rigo committed 5d46209

Remove this very old condition. It turns out that nowadays, running
a pypy, it triggers only for getenv() in pypy.translator.goal.nanos
which is better left out; but it is otherwise pointless.

  • Participants
  • Parent commits a1be520

Comments (0)

Files changed (2)

pypy/jit/codewriter/policy.py

         mod = func.__module__ or '?'
         if mod.startswith('pypy.rpython.module.'):
             return True
-        if mod.startswith('pypy.translator.'): # XXX wtf?
+        if mod == 'pypy.translator.goal.nanos':    # more helpers
             return True
         return False
 

pypy/translator/generator.py

         (next_entry, return_value) = func(entry)
         self.current = next_entry
         return return_value
-    next._jit_look_inside_ = True
     GeneratorIterator.next = next
     return func   # for debugging