[pypy-commit] pypy even-more-jit-hooks: (fijal, arigo) remove some dead code

fijal noreply at buildbot.pypy.org
Wed Jul 11 10:52:10 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: even-more-jit-hooks
Changeset: r56024:6c658a154811
Date: 2012-07-11 10:51 +0200
http://bitbucket.org/pypy/pypy/changeset/6c658a154811/

Log:	(fijal, arigo) remove some dead code

diff --git a/pypy/jit/metainterp/warmspot.py b/pypy/jit/metainterp/warmspot.py
--- a/pypy/jit/metainterp/warmspot.py
+++ b/pypy/jit/metainterp/warmspot.py
@@ -152,9 +152,6 @@
 def find_set_param(graphs):
     return _find_jit_marker(graphs, 'set_param')
 
-def find_get_stats(graphs):
-    return _find_jit_marker(graphs, 'get_stats', False)
-
 def find_force_quasi_immutable(graphs):
     results = []
     for graph in graphs:
@@ -918,9 +915,6 @@
             op.opname = 'direct_call'
             op.args[:3] = [closures[key]]
 
-        for graph, block, i in find_get_stats(graphs):
-            xxx
-
     def rewrite_force_virtual(self, vrefinfo):
         if self.cpu.ts.name != 'lltype':
             py.test.skip("rewrite_force_virtual: port it to ootype")


More information about the pypy-commit mailing list