Commits

Maciej Fijalkowski committed 22b2849

hack differently

  • Participants
  • Parent commits 2d0e75c
  • Branches jitframe-on-heap

Comments (0)

Files changed (2)

File rpython/jit/backend/x86/assembler.py

 class GuardToken(object):
     def __init__(self, faildescr, failargs, fail_locs, exc,
                  is_guard_not_invalidated, is_guard_not_forced):
-        assert isinstance(faildescr, AbstractFailDescr)
         self.faildescr = faildescr
         self.failargs = failargs
         self.fail_locs = fail_locs

File rpython/jit/metainterp/compile.py

 def do_compile_bridge(metainterp_sd, faildescr, inputargs, operations,
                       original_loop_token, log=True):
     metainterp_sd.logger_ops.log_bridge(inputargs, operations, "compiling")
+    assert isinstance(faildescr, AbstractFailDescr)
     return metainterp_sd.cpu.compile_bridge(faildescr, inputargs, operations,
                                             original_loop_token, log=log)