[pypy-commit] pypy default: remove evil and unused method
fijal
noreply at buildbot.pypy.org
Mon Oct 5 10:26:56 CEST 2015
Author: fijal
Branch:
Changeset: r79985:0c3303fd17a3
Date: 2015-10-05 10:27 +0200
http://bitbucket.org/pypy/pypy/changeset/0c3303fd17a3/
Log: remove evil and unused method
diff --git a/rpython/jit/metainterp/resume.py b/rpython/jit/metainterp/resume.py
--- a/rpython/jit/metainterp/resume.py
+++ b/rpython/jit/metainterp/resume.py
@@ -26,19 +26,6 @@
self.prev = prev
self.boxes = boxes
- def copy(self, memo):
- try:
- return memo.snapshots[self]
- except KeyError:
- if self.prev is not None:
- prev = self.prev.copy(memo)
- else:
- prev = None
- boxes = [memo.get(box, box) for box in self.boxes]
- new_snapshot = Snapshot(prev, boxes)
- memo.snapshots[self] = new_snapshot
- return new_snapshot
-
class FrameInfo(object):
__slots__ = ('prev', 'jitcode', 'pc')
More information about the pypy-commit
mailing list