diff options
author | 2011-06-09 11:37:43 +0200 | |
---|---|---|
committer | 2011-06-09 11:37:43 +0200 | |
commit | 43e6bcf66e5681515a454d38649b08d46baa1160 (patch) | |
tree | eaf46fe6cf74553924fd4fb971aec6e45a481301 /pypy/tool | |
parent | a branch in which to teach oparser to use a mock model for loops and boxes, s... (diff) | |
download | pypy-43e6bcf66e5681515a454d38649b08d46baa1160.tar.gz pypy-43e6bcf66e5681515a454d38649b08d46baa1160.tar.bz2 pypy-43e6bcf66e5681515a454d38649b08d46baa1160.zip |
make it possible to use either the "real model", which uses the real BoxInt&co. or the "mock model", which uses mock objects; by default the real one is used, but the jitlogparser (used by the jitviewer) uses the latter
Diffstat (limited to 'pypy/tool')
-rw-r--r-- | pypy/tool/jitlogparser/parser.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pypy/tool/jitlogparser/parser.py b/pypy/tool/jitlogparser/parser.py index cb6622847c..fb6ba7de7f 100644 --- a/pypy/tool/jitlogparser/parser.py +++ b/pypy/tool/jitlogparser/parser.py @@ -1,4 +1,5 @@ import re, sys + from pypy.jit.metainterp.resoperation import rop, opname from pypy.jit.tool.oparser import OpParser @@ -51,6 +52,7 @@ class SimpleParser(OpParser): # factory method Op = Op + use_mock_model = True @classmethod def parse_from_input(cls, input): |