[pypy-svn] pypy out-of-line-guards: Remove obsolete stuff

fijal commits-noreply at bitbucket.org
Thu Feb 17 16:07:25 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: out-of-line-guards
Changeset: r42110:81c3f74205c7
Date: 2011-02-16 07:40 -0700
http://bitbucket.org/pypy/pypy/changeset/81c3f74205c7/

Log:	Remove obsolete stuff

diff --git a/pypy/jit/metainterp/history.py b/pypy/jit/metainterp/history.py
--- a/pypy/jit/metainterp/history.py
+++ b/pypy/jit/metainterp/history.py
@@ -770,16 +770,9 @@
     def __init__(self):
         # For memory management of assembled loops
         self._keepalive_target_looktokens = {}      # set of other LoopTokens
-        self._back_looptokens = []
-        self._back_looptokens_call_asm = []
-        # the reverse of the _keepalive_target_looktokens dict
 
     def record_jump_to(self, target_loop_token, is_call_asm=False):
         self._keepalive_target_looktokens[target_loop_token] = None
-        if is_call_asm:
-            target_loop_token._back_looptokens_call_asm.append(weakref.ref(self))
-        else:
-            target_loop_token._back_looptokens.append(weakref.ref(self))
 
     def __repr__(self):
         return '<Loop %d, gen=%d>' % (self.number, self.generation)


More information about the Pypy-commit mailing list