[pypy-commit] pypy default: Detail

arigo noreply at buildbot.pypy.org
Sat Apr 5 14:38:05 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r70469:a8d706f379cf
Date: 2014-04-05 14:37 +0200
http://bitbucket.org/pypy/pypy/changeset/a8d706f379cf/

Log:	Detail

diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py
--- a/rpython/jit/metainterp/compile.py
+++ b/rpython/jit/metainterp/compile.py
@@ -567,7 +567,8 @@
             # common case: this is not a guard_value, and we are not
             # already busy tracing.  The rest of self.status stores a
             # valid per-guard index in the jitcounter.
-            hash = self.status & self.ST_SHIFT_MASK
+            hash = self.status
+            assert hash == (self.status & self.ST_SHIFT_MASK)
         #
         # do we have the BUSY flag?  If so, we're tracing right now, e.g. in an
         # outer invocation of the same function, so don't trace again for now.


More information about the pypy-commit mailing list