[pypy-commit] pypy default: do not overwrite r.ip when loading pos_exception before resetting it
bivab
noreply at buildbot.pypy.org
Mon Apr 22 15:03:29 CEST 2013
Author: David Schneider <david.schneider at picle.org>
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)
More information about the pypy-commit
mailing list