[pypy-svn] r72342 - in pypy/trunk/pypy: interpreter objspace/flow
benjamin at codespeak.net
benjamin at codespeak.net
Thu Mar 18 03:44:04 CET 2010
Author: benjamin
Date: Thu Mar 18 03:44:03 2010
New Revision: 72342
Modified:
pypy/trunk/pypy/interpreter/pycode.py
pypy/trunk/pypy/objspace/flow/flowcontext.py
Log:
remove unused getjoinpoints() method
Modified: pypy/trunk/pypy/interpreter/pycode.py
==============================================================================
--- pypy/trunk/pypy/interpreter/pycode.py (original)
+++ pypy/trunk/pypy/interpreter/pycode.py Thu Mar 18 03:44:03 2010
@@ -225,12 +225,6 @@
return w_first
return space.w_None
- def getjoinpoints(self):
- """Compute the bytecode positions that are potential join points
- (for FlowObjSpace)"""
- # first approximation
- return dis.findlabels(self.co_code)
-
def _to_code(self):
"""For debugging only."""
consts = [None] * len(self.co_consts_w)
Modified: pypy/trunk/pypy/objspace/flow/flowcontext.py
==============================================================================
--- pypy/trunk/pypy/objspace/flow/flowcontext.py (original)
+++ pypy/trunk/pypy/objspace/flow/flowcontext.py Thu Mar 18 03:44:03 2010
@@ -209,8 +209,6 @@
arg_list[position] = Constant(value)
frame.setfastscope(arg_list)
self.joinpoints = {}
- #for joinpoint in code.getjoinpoints():
- # self.joinpoints[joinpoint] = [] # list of blocks
initialblock = SpamBlock(FrameState(frame).copy())
self.pendingblocks = collections.deque([initialblock])
self.graph = FunctionGraph(name or code.co_name, initialblock)
More information about the Pypy-commit
mailing list