Author: Maciej Fijalkowski <[email protected]>
Branch: continulet-jit-3
Changeset: r58264:d38c50226d4b
Date: 2012-10-19 22:36 +0200
http://bitbucket.org/pypy/pypy/changeset/d38c50226d4b/
Log: a non-working fix, maybe I missed something
diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py
--- a/pypy/jit/metainterp/pyjitpl.py
+++ b/pypy/jit/metainterp/pyjitpl.py
@@ -2540,6 +2540,10 @@
args = arglist[num_green_args+1:]
assert len(args) == targetjitdriver_sd.num_red_args
warmrunnerstate = targetjitdriver_sd.warmstate
+ if targetjitdriver_sd.virtualizable_info is not None:
+ vbox = args[targetjitdriver_sd.index_of_virtualizable]
+ frame = self.framestack[-1]
+ frame._force_virtualizable_if_necessary(vbox, frame.pc)
token = warmrunnerstate.get_assembler_token(greenargs)
op = op.copy_and_change(rop.CALL_ASSEMBLER, args=args, descr=token)
self.history.operations.append(op)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit