[pypy-commit] lang-smalltalk storage: Fixed run_image
anton_gulenko
noreply at buildbot.pypy.org
Mon Apr 7 19:42:49 CEST 2014
Author: Anton Gulenko <anton.gulenko at googlemail.com>
Branch: storage
Changeset: r787:97a7e0670161
Date: 2014-04-07 19:42 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/97a7e0670161/
Log: Fixed run_image
diff --git a/spyvm/test/jit.py b/spyvm/test/jit.py
--- a/spyvm/test/jit.py
+++ b/spyvm/test/jit.py
@@ -75,7 +75,7 @@
import targetimageloadingsmalltalk
interp = load(imagename)
def interp_run_image():
- return targetimageloadingsmalltalk._run_image(imagename)
+ return targetimageloadingsmalltalk._run_image(interp)
return interp_run_image
# ==== The following will build a JIT for the real entry-point.
@@ -129,8 +129,8 @@
# ==== These entry-points pre-load the image and then use methods from the entry-point module.
# ==== This is very close to what actually happens in the VM, but with a pre-loaded image.
# func = run_benchmark(imagename, "loopTest2", 10000)
- func = run_code(imagename, "^6+7")
- # func = run_image(imagename)
+ # func = run_code(imagename, "^6+7", as_benchmark=True)
+ func = run_image(imagename)
# ===== Now we can either simply execute the entry-point, or meta-interpret it (showing all encountered loops).
# res = func()
More information about the pypy-commit
mailing list