[pypy-svn] r29502 - pypy/dist/pypy/jit/tl

arigo at codespeak.net arigo at codespeak.net
Thu Jun 29 18:32:52 CEST 2006


Author: arigo
Date: Thu Jun 29 18:32:50 2006
New Revision: 29502

Modified:
   pypy/dist/pypy/jit/tl/tlr.py
Log:
(arre, pedronis, arigo)
Cheat here with many hints.  These should be reverted at some point.


Modified: pypy/dist/pypy/jit/tl/tlr.py
==============================================================================
--- pypy/dist/pypy/jit/tl/tlr.py	(original)
+++ pypy/dist/pypy/jit/tl/tlr.py	Thu Jun 29 18:32:50 2006
@@ -19,11 +19,11 @@
         opcode = hint(ord(bytecode[pc]), concrete=True)
         pc += 1
         if opcode == MOV_A_R:
-            n = ord(bytecode[pc])
+            n = ord(bytecode[pc]); hint(n, concrete=True)
             pc += 1
             regs[n] = a
         elif opcode == MOV_R_A:
-            n = ord(bytecode[pc])
+            n = ord(bytecode[pc]); hint(n, concrete=True)
             pc += 1
             a = regs[n]
         elif opcode == JUMP_IF_A:
@@ -32,16 +32,16 @@
             if a:
                 pc = target
         elif opcode == SET_A:
-            a = ord(bytecode[pc])
+            a = ord(bytecode[pc]); hint(a, concrete=True)
             pc += 1
         elif opcode == ADD_R_TO_A:
-            n = ord(bytecode[pc])
+            n = ord(bytecode[pc]); hint(n, concrete=True)
             pc += 1
             a += regs[n]
         elif opcode == RETURN_A:
             return a
         elif opcode == ALLOCATE:
-            n = ord(bytecode[pc])
+            n = ord(bytecode[pc]); hint(n, concrete=True)
             pc += 1
             regs = [0] * n
         elif opcode == NEG_A:



More information about the Pypy-commit mailing list