Author: Armin Rigo <[email protected]>
Branch: store-sink-array
Changeset: r45042:f48e2a724223
Date: 2011-06-21 19:19 +0200
http://bitbucket.org/pypy/pypy/changeset/f48e2a724223/

Log:    Backed out changeset c935f106ada1. It seems to really get
        performance worse for now. To be investigated.

diff --git a/pypy/jit/tl/tla/tla.py b/pypy/jit/tl/tla/tla.py
--- a/pypy/jit/tl/tla/tla.py
+++ b/pypy/jit/tl/tla/tla.py
@@ -1,5 +1,5 @@
 
-from pypy.rlib.jit import JitDriver, hint
+from pypy.rlib.jit import JitDriver
 
 
 class W_Object:
@@ -76,9 +76,12 @@
 
 jitdriver = JitDriver(greens=['pc', 'bytecode'],
                       reds=['self'],
+                      virtualizables=['self'],
                       get_printable_location=get_printable_location)
 
 class Frame(object):
+    _virtualizable2_ = ['stackpos', 'stack[*]']
+    
     def __init__(self, bytecode):
         self.bytecode = bytecode
         self.stack = [None] * 8
@@ -102,8 +105,6 @@
 
         while pc < len(bytecode):
             jitdriver.jit_merge_point(bytecode=bytecode, pc=pc, self=self)
-            self.stackpos = hint(self.stackpos, promote=True)
-
             opcode = ord(bytecode[pc])
             pc += 1
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to