Commits

Hakan Ardo  committed d6193c5

log short preamble of retraces

  • Participants
  • Parent commits 0c85b2f

Comments (0)

Files changed (2)

File pypy/jit/metainterp/compile.py

     assert isinstance(target_token, TargetToken)
     assert loop_jitcell_token.target_tokens
     loop_jitcell_token.target_tokens.append(target_token)
+    if target_token.short_preamble:
+        metainterp_sd.logger_ops.log_short_preamble([], target_token.short_preamble)
 
     loop = partial_trace
     loop.operations = loop.operations[:-1] + part.operations

File pypy/jit/metainterp/history.py

 
         self.virtual_state = None
         self.exported_state = None
+        self.short_preamble = None
 
     def repr_of_descr(self):
         return 'TargetToken(%d)' % compute_unique_id(self)