[pypy-svn] r62311 - pypy/branch/pyjitpl5/pypy/jit/backend/llgraph
fijal at codespeak.net
fijal at codespeak.net
Sun Mar 1 22:19:16 CET 2009
Author: fijal
Date: Sun Mar 1 22:19:15 2009
New Revision: 62311
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py
Log:
reuse annmixlevel
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/runner.py Sun Mar 1 22:19:15 2009
@@ -14,7 +14,8 @@
class CPU(object):
- def __init__(self, rtyper, stats=None, translate_support_code=False):
+ def __init__(self, rtyper, stats=None, translate_support_code=False,
+ annmixlevel=None):
self.rtyper = rtyper
self.translate_support_code = translate_support_code
self.jumptarget2loop = {}
@@ -27,8 +28,7 @@
llimpl._stats = self.stats
llimpl._rtyper = self.rtyper
if translate_support_code:
- from pypy.rpython.annlowlevel import MixLevelHelperAnnotator
- self.mixlevelann = MixLevelHelperAnnotator(self.rtyper)
+ self.mixlevelann = annmixlevel
def set_meta_interp(self, metainterp):
self.metainterp = metainterp # to handle guard failures
More information about the Pypy-commit
mailing list