Author: Maciej Fijalkowski <[email protected]>
Branch: remove-globals-in-jit
Changeset: r59726:584b196955de
Date: 2013-01-05 15:23 +0200
http://bitbucket.org/pypy/pypy/changeset/584b196955de/
Log: fix tests
diff --git a/pypy/jit/codewriter/test/test_call.py
b/pypy/jit/codewriter/test/test_call.py
--- a/pypy/jit/codewriter/test/test_call.py
+++ b/pypy/jit/codewriter/test/test_call.py
@@ -173,7 +173,7 @@
py.test.skip("XXX add a test for CallControl.getcalldescr() -> EF_xxx")
def test_releases_gil_analyzer():
- from pypy.jit.backend.llgraph.runner import LLtypeCPU
+ from pypy.jit.backend.llgraph.runner import LLGraphCPU
T = rffi.CArrayPtr(rffi.TIME_T)
external = rffi.llexternal("time", [T], rffi.TIME_T, threadsafe=True)
@@ -184,7 +184,7 @@
rtyper = support.annotate(f, [])
jitdriver_sd = FakeJitDriverSD(rtyper.annotator.translator.graphs[0])
- cc = CallControl(LLtypeCPU(rtyper), jitdrivers_sd=[jitdriver_sd])
+ cc = CallControl(LLGraphCPU(rtyper), jitdrivers_sd=[jitdriver_sd])
res = cc.find_all_graphs(FakePolicy())
[f_graph] = [x for x in res if x.func is f]
@@ -194,7 +194,7 @@
assert call_descr.extrainfo.has_random_effects()
def test_random_effects_on_stacklet_switch():
- from pypy.jit.backend.llgraph.runner import LLtypeCPU
+ from pypy.jit.backend.llgraph.runner import LLGraphCPU
from pypy.translator.platform import CompilationError
try:
from pypy.rlib._rffi_stacklet import switch, thread_handle, handle
@@ -209,7 +209,7 @@
rtyper = support.annotate(f, [])
jitdriver_sd = FakeJitDriverSD(rtyper.annotator.translator.graphs[0])
- cc = CallControl(LLtypeCPU(rtyper), jitdrivers_sd=[jitdriver_sd])
+ cc = CallControl(LLGraphCPU(rtyper), jitdrivers_sd=[jitdriver_sd])
res = cc.find_all_graphs(FakePolicy())
[f_graph] = [x for x in res if x.func is f]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit