Skip to content

Instantly share code, notes, and snippets.

@timo
Created April 1, 2014 22:54
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/ee59cf9e9a80c481a7c0 to your computer and use it in GitHub Desktop.
Save timo/ee59cf9e9a80c481a7c0 to your computer and use it in GitHub Desktop.
env MVM_SPESH_LOG=testlog.txt nqp-m -e 'sub testsub($foo = "hello") { say($foo) }; for 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9 { testsub() };'
testsub (before)
BB 0:
Instructions:
no_op
Successors: 1
Predeccessors:
Dominance children: 1
BB 1:
Instructions:
checkarity liti16(0), liti16(1)
param_op_o r0(1), liti16(0), BB(3)
Successors: 3, 2
Predeccessors: 0
Dominance children: 2, 3
BB 2:
Instructions:
const_s r3(1), <nyi(lit)>
hllboxtype_s r1(1)
box_s r1(2), r3(1), r1(1)
set r0(2), r1(2)
Successors: 3
Predeccessors: 1
Dominance children:
BB 3:
Instructions:
PHI r3(2), r3(0), r3(1)
PHI r1(3), r1(0), r1(2)
PHI r0(3), r0(1), r0(2)
bindlex <nyi>, r0(3)
paramnamesused
getlex_no r1(4), <nyi(lit)>
getlex r2(1), <nyi>
decont r1(5), r1(4)
prepargs <nyi(lit)>
arg_o liti16(0), r2(1)
invoke_o r2(2), r1(5)
return_o r2(2)
Successors:
Predeccessors: 1, 2
Dominance children:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment