[pypy-svn] pypy jit-short_from_state: use the virtual state of the short preamble

hakanardo commits-noreply at bitbucket.org
Mon Apr 25 10:37:04 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-short_from_state
Changeset: r43543:c0e033404df8
Date: 2011-04-24 15:23 +0200
http://bitbucket.org/pypy/pypy/changeset/c0e033404df8/

Log:	use the virtual state of the short preamble

diff --git a/pypy/jit/metainterp/optimizeopt/unroll.py b/pypy/jit/metainterp/optimizeopt/unroll.py
--- a/pypy/jit/metainterp/optimizeopt/unroll.py
+++ b/pypy/jit/metainterp/optimizeopt/unroll.py
@@ -651,8 +651,8 @@
                         try:
                             values = [self.getvalue(arg)
                                       for arg in op.getarglist()]
-                            args = virtual_state.make_inputargs(values,
-                                                                keyboxes=True)
+                            args = sh.virtual_state.make_inputargs(values,
+                                                                   keyboxes=True)
                             self.inline(sh.operations, sh.inputargs, args)
                         except InvalidLoop:
                             debug_print("Inlining failed unexpectedly",


More information about the Pypy-commit mailing list