Author: David Schneider <[email protected]>
Branch:
Changeset: r63547:c13457babbfb
Date: 2013-04-22 15:02 +0200
http://bitbucket.org/pypy/pypy/changeset/c13457babbfb/
Log: do not overwrite r.ip when loading pos_exception before resetting it
diff --git a/rpython/jit/backend/arm/assembler.py
b/rpython/jit/backend/arm/assembler.py
--- a/rpython/jit/backend/arm/assembler.py
+++ b/rpython/jit/backend/arm/assembler.py
@@ -122,8 +122,8 @@
if exctploc is not None:
# store pos_exception in exctploc
assert exctploc.is_reg()
- mc.gen_load_int(r.ip.value, self.cpu.pos_exception())
- self.load_reg(mc, exctploc, r.ip)
+ mc.gen_load_int(tmpreg.value, self.cpu.pos_exception())
+ self.load_reg(mc, exctploc, tmpreg)
# reset exception
mc.gen_load_int(tmpreg.value, 0)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit