Skip to content

Instantly share code, notes, and snippets.

@timo
Last active December 1, 2015 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/d9ba0cde4833cbddaba2 to your computer and use it in GitHub Desktop.
Save timo/d9ba0cde4833cbddaba2 to your computer and use it in GitHub Desktop.
Finished specialization of 'do-loop' (cuid: cuid_2_1449006629.44412)
Spesh of 'do-loop' (cuid: cuid_2_1449006629.44412, file: -e:1)
Callsite 0x7ffa5686ba40 (1 args, 1 pos)
Positional flags: obj
2 argument guards
concrete(0)
deconted_concrete_rw(0)
BB 0 (0x4069e78):
line: 1 (pc 0)
Instructions:
no_op
Successors: 1, 6, 5, 7, 8
Predeccessors:
Dominance children: 1, 5, 6, 7, 8, 9
BB 1 (0x4069ef0):
line: 1 (pc 0)
Instructions:
sp_getarg_o r0(1), liti16(0)
iscont_i r7(1), r0(1)
assertparamcheck r7(1)
bindlex lex(idx=4,outers=0,$n), r0(1)
takedispatcher r1(1)
isnull r2(1), r1(1)
if_i r2(1), BB(3)
Successors: 3, 2
Predeccessors: 0
Dominance children: 2, 3
BB 2 (0x4069f40):
line: 1 (pc 50)
Instructions:
bindlex lex(idx=5,outers=0,$*DISPATCHER), r1(1)
Successors: 3
Predeccessors: 1
Dominance children:
BB 3 (0x4069f90):
line: 1 (pc 58)
Instructions:
newlexotic r1(2), BB(8)
Successors: 8, 4
Predeccessors: 1, 2
Dominance children: 4
BB 4 (0x4069fe0):
line: 1 (pc 66)
Instructions:
bindlex lex(idx=6,outers=0,RETURN), r1(2)
[Annotation: FH Start (3)]
[Annotation: FH Start (2)]
[Annotation: FH Start (1)]
[Annotation: FH Start (0)]
null r6(1)
Successors: 5
Predeccessors: 3
Dominance children:
BB 5 (0x406a030):
line: 1 (pc 78)
Instructions:
PHI r6(2), r6(0), r6(1), r6(4)
PHI r1(3), r1(0), r1(2), r1(4)
PHI r0(2), r0(0), r0(1), r0(3)
[Annotation: INS Deopt One (idx 0 -> pc 86; line 1)]
[Annotation: FH Goto (1)]
getlex r4(2), lex(idx=4,outers=0,$n)
decont_i r2(3), r4(2)
const_i64_32 r5(2), liti32(500000000)
lt_i r5(3), r2(3), r5(2)
unless_i r5(3), BB(7)
Successors: 7, 6
Predeccessors: 0, 4, 6
Dominance children:
BB 6 (0x406a080):
line: 1 (pc 116)
Instructions:
PHI r5(4), r5(0), r5(3)
PHI r1(4), r1(0), r1(3)
PHI r0(3), r0(0), r0(2)
[Annotation: INS Deopt One (idx 2 -> pc 126; line 1)]
[Annotation: INS Deopt OSR (idx 1 -> pc 118); line 1]
[Annotation: FH Goto (0)]
getlex r4(4), lex(idx=3,outers=0,$_)
set r3(3), r4(4)
[Annotation: INS Deopt One (idx 3 -> pc 140; line 1)]
getlex r4(5), lex(idx=4,outers=0,$n)
[Annotation: INS Deopt One (idx 4 -> pc 148; line 1)]
getlex r6(4), lex(idx=4,outers=0,$n)
decont_i r2(5), r6(4)
const_i64_16 r7(4), liti16(1)
add_i r7(5), r2(5), r7(4)
assign_i r4(5), r7(5)
bindlex lex(idx=3,outers=0,$_), r3(3)
null r8(3)
goto BB(5)
Successors: 5
Predeccessors: 0, 5
Dominance children:
BB 7 (0x406a0d0):
line: 1 (pc 192)
Instructions:
PHI r6(5), r6(0), r6(2)
[Annotation: FH Goto (2)]
[Annotation: FH End (2)]
[Annotation: FH End (1)]
[Annotation: FH End (0)]
p6decontrv r6(6), r6(5)
[Annotation: FH End (3)]
goto BB(9)
Successors: 9
Predeccessors: 0, 5
Dominance children:
BB 8 (0x406a120):
line: 1 (pc 204)
Instructions:
PHI r1(6), r1(0), r1(2)
[Annotation: FH Goto (3)]
lexoticresult r6(7), r1(6)
Successors: 9
Predeccessors: 0, 3
Dominance children:
BB 9 (0x406a170):
line: 1 (pc 210)
Instructions:
PHI r6(8), r6(6), r6(7)
[Annotation: INS Deopt One (idx 5 -> pc 218; line 1)]
getlex_no r1(8), lits(&EXHAUST)
bindlex lex(idx=6,outers=0,RETURN), r1(8)
return_o r6(8)
Successors:
Predeccessors: 7, 8
Dominance children:
Finished specialization of 'do-loop' (cuid: cuid_2_1449006214.18117)
Spesh of 'do-loop' (cuid: cuid_2_1449006214.18117, file: -e:1)
Callsite 0x7fa32f292a40 (1 args, 1 pos)
Positional flags: obj
2 argument guards
concrete(0)
deconted_concrete_rw(0)
BB 0 (0x457fed8):
line: 1 (pc 0)
Instructions:
no_op
Successors: 1, 6, 5, 7, 8
Predeccessors:
Dominance children: 1, 5, 6, 7, 8, 9
BB 1 (0x457ff50):
line: 1 (pc 0)
Instructions:
sp_getarg_o r0(1), liti16(0)
iscont_i r7(1), r0(1)
assertparamcheck r7(1)
bindlex lex(idx=4,outers=0,$n), r0(1)
takedispatcher r1(1)
isnull r2(1), r1(1)
if_i r2(1), BB(3)
Successors: 3, 2
Predeccessors: 0
Dominance children: 2, 3
BB 2 (0x457ffa0):
line: 1 (pc 50)
Instructions:
bindlex lex(idx=5,outers=0,$*DISPATCHER), r1(1)
Successors: 3
Predeccessors: 1
Dominance children:
BB 3 (0x457fff0):
line: 1 (pc 58)
Instructions:
newlexotic r1(2), BB(8)
Successors: 8, 4
Predeccessors: 1, 2
Dominance children: 4
BB 4 (0x4580040):
line: 1 (pc 66)
Instructions:
bindlex lex(idx=6,outers=0,RETURN), r1(2)
[Annotation: FH Start (3)]
[Annotation: FH Start (2)]
[Annotation: FH Start (1)]
[Annotation: FH Start (0)]
null r6(1)
Successors: 5
Predeccessors: 3
Dominance children:
BB 5 (0x4580090):
line: 1 (pc 78)
Instructions:
PHI r6(2), r6(0), r6(1), r6(4)
PHI r1(3), r1(0), r1(2), r1(4)
PHI r0(2), r0(0), r0(1), r0(3)
[Annotation: FH Goto (1)]
getlex r4(2), lex(idx=4,outers=0,$n)
[Annotation: INS Deopt One (idx 0 -> pc 86; line 1)]
sp_guardrwconc r4(2), sslot(0), sslot(1)
sp_deref_get_i64 r2(3), r4(2), liti16(32)
const_i64_32 r5(2), liti32(500000000)
lt_i r5(3), r2(3), r5(2)
unless_i r5(3), BB(7)
Successors: 7, 6
Predeccessors: 0, 4, 6
Dominance children:
BB 6 (0x45800e0):
line: 1 (pc 116)
Instructions:
PHI r5(4), r5(0), r5(3)
PHI r1(4), r1(0), r1(3)
PHI r0(3), r0(0), r0(2)
[Annotation: INS Deopt One (idx 2 -> pc 126; line 1)]
[Annotation: INS Deopt OSR (idx 1 -> pc 118); line 1]
[Annotation: FH Goto (0)]
getlex r4(4), lex(idx=3,outers=0,$_)
set r3(3), r4(4)
getlex r4(5), lex(idx=4,outers=0,$n)
[Annotation: INS Deopt One (idx 3 -> pc 140; line 1)]
sp_guardrwconc r4(5), sslot(4), sslot(5)
getlex r6(4), lex(idx=4,outers=0,$n)
[Annotation: INS Deopt One (idx 4 -> pc 148; line 1)]
sp_guardrwconc r6(4), sslot(6), sslot(7)
sp_deref_get_i64 r2(5), r6(4), liti16(32)
const_i64_16 r7(4), liti16(1)
add_i r7(5), r2(5), r7(4)
sp_deref_bind_i64 r4(5), r7(5), liti16(32)
bindlex lex(idx=3,outers=0,$_), r3(3)
null r8(3)
goto BB(5)
Successors: 5
Predeccessors: 0, 5
Dominance children:
BB 7 (0x4580130):
line: 1 (pc 192)
Instructions:
PHI r6(5), r6(0), r6(2)
[Annotation: FH Goto (2)]
[Annotation: FH End (2)]
[Annotation: FH End (1)]
[Annotation: FH End (0)]
p6decontrv r6(6), r6(5)
[Annotation: FH End (3)]
goto BB(9)
Successors: 9
Predeccessors: 0, 5
Dominance children:
BB 8 (0x4580180):
line: 1 (pc 204)
Instructions:
PHI r1(6), r1(0), r1(2)
[Annotation: FH Goto (3)]
lexoticresult r6(7), r1(6)
Successors: 9
Predeccessors: 0, 3
Dominance children:
BB 9 (0x45801d0):
line: 1 (pc 210)
Instructions:
PHI r6(8), r6(6), r6(7)
[Annotation: INS Deopt One (idx 5 -> pc 218; line 1)]
getlex_no r1(8), lits(&EXHAUST)
bindlex lex(idx=6,outers=0,RETURN), r1(8)
return_o r6(8)
Successors:
Predeccessors: 7, 8
Dominance children:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment