[pypy-svn] r51937 - pypy/branch/jit-refactoring/pypy/jit/timeshifter

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Feb 29 11:17:41 CET 2008


Author: cfbolz
Date: Fri Feb 29 11:17:40 2008
New Revision: 51937

Modified:
   pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py
Log:
clean up some things that are no longer needed


Modified: pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py
==============================================================================
--- pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py	(original)
+++ pypy/branch/jit-refactoring/pypy/jit/timeshifter/rtimeshift.py	Fri Feb 29 11:17:40 2008
@@ -344,8 +344,6 @@
     start_new_block(states_dic, jitstate, key, global_resumer)
     return False   
 
-retrieve_jitstate_for_merge._annspecialcase_ = "specialize:arglltype(2)"
-
 def cleanup_partial_data(partialdatamatch):
     # remove entries from PartialDataStruct unless they matched
     # their frozen equivalent
@@ -1225,16 +1223,6 @@
     return jitstate
 
 
-def replayable_ensure_queue(jitstate, DispatchQueueClass):
-    if jitstate.frame is None:    # common case
-        return DispatchQueueClass()
-    else:
-        # replaying
-        dispatchqueue = jitstate.frame.dispatchqueue
-        assert isinstance(dispatchqueue, DispatchQueueClass)
-        return dispatchqueue
-replayable_ensure_queue._annspecialcase_ = 'specialize:arg(1)'
-
 def enter_frame(jitstate, dispatchqueue):
     if jitstate.frame:
         resuming = jitstate.get_resuming()



More information about the Pypy-commit mailing list