[pypy-commit] pypy oparser-mock-model: delay the import of BasicFailDescr; it seems not to be used by the jitviewer
antocuni
noreply at buildbot.pypy.org
Thu Jun 9 13:37:32 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: oparser-mock-model
Changeset: r44860:5df9b736b6e6
Date: 2011-06-09 12:10 +0200
http://bitbucket.org/pypy/pypy/changeset/5df9b736b6e6/
Log: delay the import of BasicFailDescr; it seems not to be used by the
jitviewer
diff --git a/pypy/jit/tool/oparser.py b/pypy/jit/tool/oparser.py
--- a/pypy/jit/tool/oparser.py
+++ b/pypy/jit/tool/oparser.py
@@ -5,7 +5,7 @@
from pypy.jit.tool.oparser_model import get_model
-from pypy.jit.metainterp.history import BasicFailDescr, \
+from pypy.jit.metainterp.history import \
LoopToken, get_const_ptr_for_string, get_const_ptr_for_unicode
from pypy.jit.metainterp.resoperation import rop, ResOperation, \
ResOpWithDescr, N_aryOp, \
@@ -55,6 +55,7 @@
def default_fail_descr(fail_args=None):
+ from pypy.jit.metainterp.history import BasicFailDescr
return BasicFailDescr()
More information about the pypy-commit
mailing list