[pypy-svn] r74750 - pypy/branch/blackhole-improvement/pypy/jit/metainterp/test
arigo at codespeak.net
arigo at codespeak.net
Tue May 25 21:15:30 CEST 2010
Author: arigo
Date: Tue May 25 21:15:27 2010
New Revision: 74750
Modified:
pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_virtual.py
Log:
Fix test.
Modified: pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_virtual.py
==============================================================================
--- pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_virtual.py (original)
+++ pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_virtual.py Tue May 25 21:15:27 2010
@@ -1,12 +1,12 @@
import py
from pypy.rlib.jit import JitDriver, hint
from pypy.rlib.objectmodel import compute_unique_id
-from pypy.jit.metainterp.policy import StopAtXPolicy
+from pypy.jit.codewriter.policy import StopAtXPolicy
from pypy.jit.metainterp.test.test_basic import LLJitMixin, OOJitMixin
from pypy.rpython.lltypesystem import lltype, rclass
from pypy.rpython.lltypesystem.lloperation import llop
from pypy.rpython.ootypesystem import ootype
-from pypy.jit.metainterp import heaptracker
+from pypy.jit.codewriter import heaptracker
class VirtualTests:
def _freeze_(self):
@@ -299,10 +299,9 @@
self.check_tree_loop_count(2) # the loop and the entry path
# we get:
# ENTER - compile the new loop
- # ENTER (BlackHole) - leave
# ENTER - compile the entry bridge
# ENTER - compile the leaving path
- self.check_enter_count(4)
+ self.check_enter_count(3)
class VirtualMiscTests:
More information about the Pypy-commit
mailing list