Author: Armin Rigo <[email protected]>
Branch: remove-globals-in-jit
Changeset: r59731:8c85766d55f6
Date: 2013-01-05 17:20 +0100
http://bitbucket.org/pypy/pypy/changeset/8c85766d55f6/
Log: Fix
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
@@ -195,7 +195,7 @@
assert call_descr.extrainfo.is_call_release_gil() is False
def test_call_release_gil():
- 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)
@@ -206,7 +206,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())
[llext_graph] = [x for x in res if x.func is external]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit