Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PYTHONPATH=. python ../pypy/rpython/bin/rpython --log --opt=jit --output=bin/tiger-interpreter src/main/tiger_interpreter.py
- [translation:info] 2.7.15 (default, Sep 21 2018, 23:31:20)
- [GCC 7.3.1 20180712 (Red Hat 7.3.1-6)]
- [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
- [translation:info] Translating target as defined by src/main/tiger_interpreter
- [translation] translate.py configuration:
- [translation] [translate]
- opt = jit
- targetspec = src/main/tiger_interpreter
- [translation] translation configuration:
- [translation] [translation]
- gc = incminimark
- gcrootfinder = shadowstack
- gctransformer = framework
- jit = True
- list_comprehension_operations = True
- log = True
- output = bin/tiger-interpreter
- withsmallfuncsets = 5
- [translation:info] Annotating&simplifying...
- [14] {translation-task
- starting annotate
- [translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy
- ++++++++************************%%%%%%%%%#####%%%%%%%%%%%%%%%%%%%%%%###%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%###################################################################################################################################%###%%%%%%%%%%%%%%%%%%**
- +++++++***********************%%%%%%%%%%%%###[90] translation-task}
- [translation:info] RTyping...
- [90] {translation-task
- starting rtype_lltype
- +++++++********************
- [rtyper] specializing: 100 / 1626 blocks (6%)
- +++++++***********************%%%%%%%%%%%%###%%%%%%%%%%#%%%%%%%%%%%%#%%%%%%#######################################################################################################################################################################%%%%%%%%%%%%%%%%%%%
- +++++***********************%%%%%%%%%%%%%%%%%%%%########%%%%%%%%%%###########################################################################################################
- [rtyper] specializing: 500 / 4178 blocks (11%)
- +++++************
- [rtyper] specializing: 700 / 4228 blocks (16%)
- +++++***********************%%%%%%%%%%%%%%%%%%%
- [rtyper] specializing: 1000 / 4427 blocks (22%)
- +++++****************
- [rtyper] specializing: 1300 / 4493 blocks (28%)
- +++++****************
- [rtyper] specializing: 1600 / 4558 blocks (35%)
- [rtyper] specializing: 1900 / 4558 blocks (41%)
- +
- [rtyper] specializing: 2100 / 4560 blocks (46%)
- [rtyper] specializing: 2400 / 4560 blocks (52%)
- [rtyper] specializing: 2600 / 4560 blocks (57%)
- ++
- [rtyper] specializing: 2900 / 4564 blocks (63%)
- +
- [rtyper] specializing: 3200 / 4566 blocks (70%)
- [rtyper] specializing: 3500 / 4566 blocks (76%)
- [rtyper] specializing: 3700 / 4566 blocks (81%)
- [rtyper] specializing: 4000 / 4566 blocks (87%)
- [rtyper] specializing: 4300 / 4566 blocks (94%)
- [rtyper] -=- specialized 4566 blocks -=-
- +++++***
- [rtyper] specializing: 4600 / 4608 blocks (99%)
- [rtyper] -=- specialized 42 more blocks -=-
- +
- [rtyper] -=- specialized 2 more blocks -=-
- [20b] translation-task}
- [translation:info] JIT compiler generation...
- [20b] {translation-task
- starting pyjitpl_lltype
- +++++******
- [rtyper] -=- specialized 53 more blocks -=-
- ++
- [rtyper] -=- specialized 4 more blocks -=-
- [<rpython.jit.metainterp.jitdriver.JitDriverStaticData object at 0x7fbbcc3db710>, <rpython.jit.metainterp.jitdriver.JitDriverStaticData object at 0x7fbbcc3cbcd0>]
- +
- [rtyper] -=- specialized 2 more blocks -=-
- +
- [rtyper] -=- specialized 2 more blocks -=-
- ++
- [rtyper] -=- specialized 6 more blocks -=-
- +++++
- [rtyper] -=- specialized 17 more blocks -=-
- [rtyper] -=- specialized 2 more blocks -=-
- [backendopt:removeassert] Removed 30 asserts
- [backendopt:inlining] phase with threshold factor: 32.4
- [backendopt:inlining] heuristic: rpython.translator.backendopt.inline.inlining_heuristic
- +++++***********************%%%%%%%%%%%%%%%%%%%%########%%%%%%%%%%##################################################
- [backendopt:inlining] inlined 335 callsites.
- [backendopt:malloc] starting malloc removal
- +++++***********************%%
- [backendopt:malloc] removed 78 simple mallocs in total
- [backendopt:mergeifblocks] starting to merge if blocks
- ++
- [annrpython:WARNING] SomeInstance(can_be_None=False, classdef=src.ast.While) does not contain SomeInstance(can_be_None=False, classdef=src.ast.Exp)
- [annrpython:WARNING] SomeInstance(can_be_None=False, classdef=src.ast.Exp)
- [26f] translation-task}
- [Timer] Timings:
- [Timer] annotate --- 1.6 s
- [Timer] rtype_lltype --- 3.8 s
- [Timer] pyjitpl_lltype --- 1.2 s
- [Timer] ========================================
- [Timer] Total: --- 6.6 s
- [translation:info] Error:
- File "/home/abrown/Code/pypy/rpython/translator/goal/translate.py", line 318, in main
- drv.proceed(goals)
- File "/home/abrown/Code/pypy/rpython/translator/driver.py", line 554, in proceed
- result = self._execute(goals, task_skip = self._maybe_skip())
- File "/home/abrown/Code/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute
- res = self._do(goal, taskcallable, *args, **kwds)
- File "/home/abrown/Code/pypy/rpython/translator/driver.py", line 278, in _do
- res = func()
- File "/home/abrown/Code/pypy/rpython/translator/driver.py", line 361, in task_pyjitpl_lltype
- backend_name=self.config.translation.jit_backend, inline=True)
- File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 49, in apply_jit
- **kwds)
- File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 273, in __init__
- self.make_driverhook_graphs()
- File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 594, in make_driverhook_graphs
- annmodel.SomeString())
- File "/home/abrown/Code/pypy/rpython/jit/metainterp/warmspot.py", line 651, in _make_hook_graph
- graph = annhelper.getgraph(func, extra_args_s + args_s, s_result)
- File "/home/abrown/Code/pypy/rpython/rtyper/annlowlevel.py", line 145, in getgraph
- ann.setbinding(v_arg, s_arg)
- File "/home/abrown/Code/pypy/rpython/annotator/annrpython.py", line 298, in setbinding
- assert False
- [translation:ERROR] AssertionError
- [translation] start debugger...
- > /home/abrown/Code/pypy/rpython/annotator/annrpython.py(298)setbinding()
- -> assert False
- (Pdb+)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement