Author: Laurence Tratt <[email protected]>
Branch: sanitise_bytecode_dispatch
Changeset: r66671:28b6b806d7b2
Date: 2013-08-30 15:15 +0100
http://bitbucket.org/pypy/pypy/changeset/28b6b806d7b2/

Log:    (cfbolz, fijal, ltratt) Apparently we no longer need this check.

        According to Maciej.

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -63,7 +63,6 @@
     """A PyFrame that knows about interpretation of standard Python opcodes
     minus the ones related to nested scopes."""
 
-    bytecode_spec = bytecode_spec
     opcode_method_names = bytecode_spec.method_names
     opcodedesc = bytecode_spec.opcodedesc
     opdescmap = bytecode_spec.opdescmap
@@ -220,9 +219,6 @@
                 return self.jump_absolute(oparg, ec)
 
             for opdesc in unrolling_all_opcode_descs:
-                # static checks to skip this whole case if necessary
-                if opdesc.bytecode_spec is not self.bytecode_spec:
-                    continue
                 if not opdesc.is_enabled(space):
                     continue
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to