[pypy-svn] r32537 - pypy/branch/timeshift-refactoring/pypy/jit/timeshifter

arigo at codespeak.net arigo at codespeak.net
Wed Sep 20 17:41:55 CEST 2006


Author: arigo
Date: Wed Sep 20 17:41:54 2006
New Revision: 32537

Modified:
   pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtimeshift.py
   pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtyper.py
Log:
(arre, arigo)

Trivial fix.  Now all tests seem to pass again!


Modified: pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtimeshift.py
==============================================================================
--- pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtimeshift.py	(original)
+++ pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtimeshift.py	Wed Sep 20 17:41:54 2006
@@ -255,7 +255,7 @@
 def getlocalbox(jitstate, i):
     return jitstate.frame.local_boxes[i]
 
-def getgreenbox(jitstate, i, T):
+def ll_getgreenbox(jitstate, i, T):
     return jitstate.greens[i].revealconst(T)
 
 def getreturnbox(jitstate):

Modified: pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtyper.py
==============================================================================
--- pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtyper.py	(original)
+++ pypy/branch/timeshift-refactoring/pypy/jit/timeshifter/rtyper.py	Wed Sep 20 17:41:54 2006
@@ -614,7 +614,7 @@
         c_TYPE = hop.inputconst(lltype.Void, TYPE)
         s_result = annmodel.lltype_to_annotation(TYPE)
         v_jitstate = hop.llops.getjitstate()
-        return hop.llops.genmixlevelhelpercall(rtimeshift.getgreenbox,
+        return hop.llops.genmixlevelhelpercall(rtimeshift.ll_getgreenbox,
                   [self.s_JITState, annmodel.SomeInteger(nonneg=True), s_TYPE],
                   [v_jitstate     , c_index                          , c_TYPE],
                   s_result)



More information about the Pypy-commit mailing list