[pypy-svn] r35233 - pypy/branch/jit-real-world/pypy/jit/goal
arigo at codespeak.net
arigo at codespeak.net
Sun Dec 3 23:19:32 CET 2006
Author: arigo
Date: Sun Dec 3 23:19:31 2006
New Revision: 35233
Modified:
pypy/branch/jit-real-world/pypy/jit/goal/jitstep.py
Log:
Trying to compile a 386 version of the JIT in pypy-c.
Modified: pypy/branch/jit-real-world/pypy/jit/goal/jitstep.py
==============================================================================
--- pypy/branch/jit-real-world/pypy/jit/goal/jitstep.py (original)
+++ pypy/branch/jit-real-world/pypy/jit/goal/jitstep.py Sun Dec 3 23:19:31 2006
@@ -1,5 +1,6 @@
from pypy.interpreter.pyframe import PyFrame
+from pypy.objspace.flow.model import checkgraph
from pypy.translator.translator import graphof
from pypy.jit.hintannotator.annotator import HintAnnotator, HintAnnotatorPolicy
from pypy.jit.hintannotator.model import OriginFlags, SomeLLAbstractConstant
@@ -48,7 +49,9 @@
def timeshift(drv):
from pypy.jit.timeshifter.hrtyper import HintRTyper
- from pypy.jit.codegen.llgraph.rgenop import RGenOp # for now
+ #from pypy.jit.codegen.llgraph.rgenop import RGenOp
+ from pypy.jit.codegen.i386.rgenop import RI386GenOp as RGenOp
+
ha = drv.hannotator
t = drv.translator
# make the timeshifted graphs
@@ -58,4 +61,6 @@
for graph in ha.translator.graphs:
checkgraph(graph)
t.graphs.append(graph)
- import pdb; pdb.set_trace()
+
+ # XXX temp
+ drv.compile()
More information about the pypy-svn
mailing list