Skip to content

Instantly share code, notes, and snippets.

@timo
Created November 13, 2014 01:51
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/e879a950bea3d4c2340e to your computer and use it in GitHub Desktop.
Save timo/e879a950bea3d4c2340e to your computer and use it in GitHub Desktop.
haha! literals are cheap! so are lexicals!
BB 1 (0x53153c8):
Instructions:
getcode r35(1), <nyi(lit)>
capturelex r35(1)
getcode r6(1), <nyi(lit)>
takeclosure r6(2), r6(1)
getcode r39(1), <nyi(lit)>
takeclosure r39(2), r39(1)
getcode r41(1), <nyi(lit)>
takeclosure r41(2), r41(1)
getcode r43(1), <nyi(lit)>
takeclosure r43(2), r43(1)
const_i64_16 r1(1), liti16(0)
bindlex lex(idx=5,outers=0), r1(1)
const_i64_16 r2(1), liti16(0)
bindlex lex(idx=4,outers=0), r2(1)
const_i64_16 r4(1), liti16(0)
bindlex lex(idx=2,outers=0), r4(1)
const_i64_16 r5(1), liti16(0)
bindlex lex(idx=1,outers=0), r5(1)
getlex r7(1), lex(idx=9,outers=0)
[ later that day ]
BB 4 (0x53154a0):
Instructions:
const_s r3(2), lits($_)
getlexouter r8(3), r3(2)
const_s r3(3), lits($_)
getlexouter r9(2), r3(3)
const_s r3(4), lits($_)
getlexouter r14(1), r3(4)
const_s r3(5), lits($_)
getlexouter r16(1), r3(5)
const_s r3(6), lits($_)
getlexouter r18(1), r3(6)
newlexotic r20(1), BB(77)
Successors: 77, 5
Predeccessors: 2, 3
Dominance children: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment