[pypy-commit] pypy new-jit-log: remove old import and not used lloperations

plan_rich pypy.commits at gmail.com
Thu Jul 21 09:18:18 EDT 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: new-jit-log
Changeset: r85791:e82414d26ebf
Date: 2016-07-21 15:17 +0200
http://bitbucket.org/pypy/pypy/changeset/e82414d26ebf/

Log:	remove old import and not used lloperations

diff --git a/rpython/jit/metainterp/test/test_ajit.py b/rpython/jit/metainterp/test/test_ajit.py
--- a/rpython/jit/metainterp/test/test_ajit.py
+++ b/rpython/jit/metainterp/test/test_ajit.py
@@ -4,7 +4,6 @@
 import weakref
 
 from rpython.rlib import rgc
-from rpython.rlib.debug import debug_flush_trace_counts
 from rpython.jit.codewriter.policy import StopAtXPolicy
 from rpython.jit.metainterp import history
 from rpython.jit.metainterp.test.support import LLJitMixin, noConst
@@ -65,20 +64,6 @@
         res = self.interp_operations(f, [8, 98])
         assert res == 110
 
-    def test_flush_trace_count(self):
-        myjitdriver = JitDriver(greens = [], reds = ['i'])
-        def f(i):
-            while i > 0:
-                myjitdriver.can_enter_jit(i=i)
-                myjitdriver.jit_merge_point(i=i)
-                if i == 4:
-                    debug_flush_trace_counts(None)
-                    print("4")
-                i -= 1
-            return i
-        res = self.meta_interp(f, [40])
-        assert res == 0
-
     def test_loop_1(self):
         myjitdriver = JitDriver(greens = [], reds = ['x', 'y', 'res'])
         def f(x, y):
diff --git a/rpython/rtyper/lltypesystem/lloperation.py b/rpython/rtyper/lltypesystem/lloperation.py
--- a/rpython/rtyper/lltypesystem/lloperation.py
+++ b/rpython/rtyper/lltypesystem/lloperation.py
@@ -541,7 +541,6 @@
     'threadlocalref_enum':  LLOp(sideeffects=False),  # enum all threadlocalrefs
 
     # __________ debugging __________
-    'debug_flush_trace_counts': LLOp(),
     'debug_view':               LLOp(),
     'debug_print':              LLOp(canrun=True),
     'debug_start':              LLOp(canrun=True),


More information about the pypy-commit mailing list