Skip to content

Commit

Permalink
updated jit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Gaynor committed Mar 25, 2013
1 parent e48d1f2 commit f5fe3e8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tests/jit/test_closure.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,44 @@ def test_int_closure_cells(self, topaz, tmpdir):
end
""")
self.assert_matches(traces[0].loop, """
label(p0, p1, p3, p4, p5, p6, p7, p9, p12, i72, p20, p22, p24, p26, p28, p31, p33, p35, i53, p46, p47, p66, p64, descr=TargetToken(4324574536))
label(p0, p1, p3, p4, p5, p6, p7, p9, p12, i68, p20, p22, p24, p27, p29, p31, i49, p42, p43, p62, p60, descr=TargetToken(4324583168))
debug_merge_point(0, 0, 'each at LOAD_DEREF')
debug_merge_point(0, 0, 'each at LOAD_SELF')
debug_merge_point(0, 0, 'each at SEND')
setfield_gc(p35, 188, descr=<FieldS topaz.executioncontext.ExecutionContext.inst_last_instr 24>)
guard_not_invalidated(descr=<Guard0x101dacbd8>)
p76 = force_token()
setfield_gc(p31, 171, descr=<FieldS topaz.executioncontext.ExecutionContext.inst_last_instr 24>)
guard_not_invalidated(descr=<Guard0x101db0bd8>)
p72 = force_token()
debug_merge_point(0, 0, 'each at SEND')
p77 = force_token()
setfield_gc(p35, 193, descr=<FieldS topaz.executioncontext.ExecutionContext.inst_last_instr 24>)
i78 = int_lt(i72, i53)
guard_true(i78, descr=<Guard0x101dacb60>)
p73 = force_token()
setfield_gc(p31, 176, descr=<FieldS topaz.executioncontext.ExecutionContext.inst_last_instr 24>)
i74 = int_lt(i68, i49)
guard_true(i74, descr=<Guard0x101db0b60>)
debug_merge_point(0, 0, 'each at LOAD_CONST')
debug_merge_point(0, 0, 'each at SEND')
p79 = force_token()
p75 = force_token()
debug_merge_point(0, 0, 'each at JUMP_IF_FALSE')
debug_merge_point(0, 0, 'each at LOAD_DEREF')
debug_merge_point(0, 0, 'each at YIELD')
p80 = force_token()
p76 = force_token()
debug_merge_point(1, 1, 'block in <main> at LOAD_DEREF')
debug_merge_point(1, 1, 'block in <main> at STORE_DEREF')
debug_merge_point(1, 1, 'block in <main> at RETURN')
debug_merge_point(0, 0, 'each at DISCARD_TOP')
debug_merge_point(0, 0, 'each at LOAD_DEREF')
debug_merge_point(0, 0, 'each at SEND')
p81 = force_token()
p77 = force_token()
debug_merge_point(1, 2, 'succ at LOAD_SELF')
debug_merge_point(1, 2, 'succ at LOAD_CONST')
debug_merge_point(1, 2, 'succ at SEND')
p82 = force_token()
i83 = int_add(i72, 1)
p78 = force_token()
i79 = int_add(i68, 1)
debug_merge_point(1, 2, 'succ at RETURN')
debug_merge_point(0, 0, 'each at STORE_DEREF')
debug_merge_point(0, 0, 'each at DISCARD_TOP')
debug_merge_point(0, 0, 'each at JUMP')
debug_merge_point(0, 0, 'each at LOAD_DEREF')
setfield_gc(p35, 9, descr=<FieldS topaz.executioncontext.ExecutionContext.inst_last_instr 24>)
setfield_gc(p66, i72, descr=<FieldS topaz.closure.IntCell.inst_intvalue 16>)
i84 = arraylen_gc(p64, descr=<ArrayP 8>)
jump(p0, p1, p3, p4, p5, p6, p7, p9, p12, i83, p20, p22, p24, p26, p28, p31, p33, p35, i53, p46, p47, p66, p64, descr=TargetToken(4324574536))
setfield_gc(p31, 9, descr=<FieldS topaz.executioncontext.ExecutionContext.inst_last_instr 24>)
setfield_gc(p62, i68, descr=<FieldS topaz.closure.IntCell.inst_intvalue 16>)
i80 = arraylen_gc(p60, descr=<ArrayP 8>)
jump(p0, p1, p3, p4, p5, p6, p7, p9, p12, i79, p20, p22, p24, p27, p29, p31, i49, p42, p43, p62, p60, descr=TargetToken(4324583168))
""")

0 comments on commit f5fe3e8

Please sign in to comment.