[pypy-commit] pypy default: Hard to test, but I think this is needed
arigo
pypy.commits at gmail.com
Thu Apr 6 10:10:02 EDT 2017
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r90987:9db85c8cc752
Date: 2017-04-06 16:08 +0200
http://bitbucket.org/pypy/pypy/changeset/9db85c8cc752/
Log: Hard to test, but I think this is needed
diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -1707,6 +1707,10 @@
self.mc.patch_forward_jump(j_location)
except codebuf.ShortJumpTooFar:
pass # ignore this case
+ else:
+ # succeeded: forget the saved value of the scratch
+ # register here
+ self.mc.forget_scratch_register()
def genop_guard_guard_not_invalidated(self, guard_op, guard_token,
locs, ign):
More information about the pypy-commit
mailing list