Author: Maciej Fijalkowski <[email protected]>
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")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to