Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: share-guard-info
Changeset: r79610:895479ea3d61
Date: 2015-09-13 17:56 +0200
http://bitbucket.org/pypy/pypy/changeset/895479ea3d61/

Log:    typo

diff --git a/rpython/jit/metainterp/resoperation.py 
b/rpython/jit/metainterp/resoperation.py
--- a/rpython/jit/metainterp/resoperation.py
+++ b/rpython/jit/metainterp/resoperation.py
@@ -237,7 +237,7 @@
                 self.getopnum() == rop.GUARD_NO_OVERFLOW)
 
     def is_jit_debug(self):
-        return rop._JIT_DEBUG_FIRST <= self.getopnim() <= rop._JIT_DEBUG_LAST
+        return rop._JIT_DEBUG_FIRST <= self.getopnum() <= rop._JIT_DEBUG_LAST
 
     def is_always_pure(self):
         return rop._ALWAYS_PURE_FIRST <= self.getopnum() <= 
rop._ALWAYS_PURE_LAST
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to