Commits

Carl Friedrich Bolz committed e148456

try to make the target JIT-friendly. fails to translate with the JIT though, for
very obscure reasons.

  • Participants
  • Parent commits 6c3e62f
  • Branches continuation-based

Comments (0)

Files changed (1)

File prolog/targetprologstandalone.py

 
 # _____ Define and setup target ___
 
-# XXX this should suggest --stackless somehow
 
 def target(driver, args):
     driver.exe_name = 'pyrolog-%(backend)s'
     from prolog.interpreter.portal import get_portal
     return get_portal(driver)
 
+def jitpolicy(self):
+    from pypy.jit.metainterp.policy import JitPolicy
+    return JitPolicy()
+
 if __name__ == '__main__':
     entry_point(sys.argv)