Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r51277:33e8a892e86f
Date: 2012-01-12 15:28 +0100
http://bitbucket.org/pypy/pypy/changeset/33e8a892e86f/
Log: (stepahn, bivab): Fix decoding of guard description. Missed a cast
before checking the bytecodes
diff --git a/pypy/jit/backend/arm/assembler.py
b/pypy/jit/backend/arm/assembler.py
--- a/pypy/jit/backend/arm/assembler.py
+++ b/pypy/jit/backend/arm/assembler.py
@@ -184,7 +184,7 @@
fvalue = 0
code_inputarg = False
while True:
- code = bytecode[0]
+ code = rffi.cast(lltype.Signed, bytecode[0])
bytecode = rffi.ptradd(bytecode, 1)
if code >= self.CODE_FROMSTACK:
if code > 0x7F:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit