[pypy-dev] Interactive Translation and JIT

Hart's Antler bhartsho at yahoo.com
Fri Jul 9 04:08:19 CEST 2010


I'm using Jason Creighton branch, and i am trying to test the JIT from interactive translation.  Is it now allowed? I'm getting this error:
NotImplementedError: --gcrootfinder=asmgcc requires standalone

Or am i not setting the options correctly on the translator, here is how i'm translating.
from pypy.translator.interactive import Translation
t = Translation( pypy_entry_point )
t.config.translation.suggest(jit=True, jit_debug='steps', jit_backend='x86', gc='boehm')
t.annotate()
t.rtype()
f = t.compile_c()
f()

complete code: http://pastebin.com/T42cqSbz
demo: http://www.youtube.com/watch?v=HwbDG3Rdi_Q

-brett






More information about the Pypy-dev mailing list