[pypy-svn] r62705 - pypy/trunk/pypy/jit/tl

fijal at codespeak.net fijal at codespeak.net
Sat Mar 7 15:01:53 CET 2009


Author: fijal
Date: Sat Mar  7 15:01:52 2009
New Revision: 62705

Modified:
   pypy/trunk/pypy/jit/tl/targettlr.py
Log:
update the target


Modified: pypy/trunk/pypy/jit/tl/targettlr.py
==============================================================================
--- pypy/trunk/pypy/jit/tl/targettlr.py	(original)
+++ pypy/trunk/pypy/jit/tl/targettlr.py	Sat Mar  7 15:01:52 2009
@@ -1,7 +1,7 @@
 import py
 py.magic.autopath()
 from pypy.jit.tl.tlr import interpret
-from pypy.jit.codegen.hlinfo import highleveljitinfo
+from pypy.jit.backend.hlinfo import highleveljitinfo
 
 
 def entry_point(args):
@@ -33,18 +33,10 @@
 
 # ____________________________________________________________
 
-from pypy.jit.hintannotator.policy import HintAnnotatorPolicy
+from pypy.jit.metainterp.policy import JitPolicy
 
-class MyHintAnnotatorPolicy(HintAnnotatorPolicy):
-    novirtualcontainer = True
-    oopspec = True
-
-def portal(driver):
-    """Return the 'portal' function, and the hint-annotator policy.
-    The portal is the function that gets patched with a call to the JIT
-    compiler.
-    """
-    return interpret, MyHintAnnotatorPolicy()
+def jitpolicy(driver):
+    return JitPolicy()
 
 if __name__ == '__main__':
     import sys



More information about the Pypy-commit mailing list