Skip to content

Instantly share code, notes, and snippets.

@perl6
Created November 16, 2009 21:13
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 perl6/236316 to your computer and use it in GitHub Desktop.
Save perl6/236316 to your computer and use it in GitHub Desktop.
> say sin(1.0e0)
987 set_args PC156 (1), P3 PC156=FixedIntegerArray=PMC(0xb5dba908) P3=ResizablePMCArray=PMC(0xb5d7daa8)
990 get_results PC19 (1), P1 PC19=FixedIntegerArray=PMC(0xb5db9904) P1=Eval=PMC(0xb6225f8c)
993 invokecc P1 P1=Eval=PMC(0xb6225f8c)
0 get_params PC1 (1), P0 PC1=FixedIntegerArray=PMC(0x87b9c4c) P0=PMCNULL
3 set P3, PC28 P3=PMCNULL PC28=Sub=PMC(0xb6226068 pc:29)
6 capture_lex P3 P3=Sub=PMC(0xb6226068 pc:29)
8 get_hll_global P2, "!UNIT_START" P2=PMCNULL
11 set P3, PC28 P3=Sub=PMC(0xb6226068 pc:29) PC28=Sub=PMC(0xb6226068 pc:29)
14 capture_lex P3 P3=Sub=PMC(0xb6226068 pc:29)
16 set_args PC7 (2), P3, P0 PC7=FixedIntegerArray=PMC(0x87b9c74) P3=Sub=PMC(0xb6226068 pc:29) P0=ResizablePMCArray=PMC(0xb6225dd4)
20 tailcall P2 P2=Sub=PMC(0x8461408 pc:1009)
1009 get_params PC178 (2), P3, P2 PC178=FixedIntegerArray=PMC(0x84613a4) P3=PMCNULL P2=PMCNULL
1013 set_args PC141 (1), "INIT"
1016 set P0, PC89 P0=PMCNULL PC89=Sub=PMC(0x8460f44 pc:223)
1019 get_results PC25
1021 invokecc P0 P0=Sub=PMC(0x8460f44 pc:223)
223 get_params PC37 (1), S1 PC37=FixedIntegerArray=PMC(0x84609e0) S1="(null)"
226 get_hll_namespace P3 P3=PMCNULL
228 set P5, P3["%!PHASERS"] P5=PMCNULL P3=NameSpace=PMC(0x8460300)
232 if_null P5, 49 P5=Hash=PMC(0xb6787020)
235 set P4, P5[S0="(null)"] P4=PMCNULL P5=Hash=PMC(0xb6787020)
239 if_null P4, 42 P4=ResizablePMCArray=PMC(0xb678700c)
242 vivify P1, P3, "%!PHASERS_FIRED", PC88 P1=PMCNULL P3=NameSpace=PMC(0x8460300) PC88=Key=PMC(0x848ed58)
247 unless P4, 34 P4=ResizablePMCArray=PMC(0xb678700c)
281 set_returns PC25
283 returncc
1023 set_args PC25
1025 get_results PC9 (1), P1 PC9=FixedIntegerArray=PMC(0x8460850) P1=PMCNULL
1028 invokecc P3 P3=Sub=PMC(0xb6226068 pc:29)
29 get_hll_global P10, "True" P10=PMCNULL
32 find_lex_skip_current P0, "$_" P0=PMCNULL
35 new P1, PC27, P0 P1=PMCNULL PC27=Key=PMC(0x87b9cb0) P0=PMCNULL
39 setprop P1, "rw", P10 P1= 1296 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
1299 set_args PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=Object()=PMC(0xb5dd9574)
1302 get_results PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=PMCNULL
1305 callmethodcc P2, "HOW" P2=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1308 getattribute P1, P0, "longname" P1=PMCNULL P0=Object(ClassHOW)=PMC(0xb5ddb20c)
1312 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=String=PMC(0xb5dd9740 Str:"Object")
1315 returncc
Object=PMC(0xb62258e8) P10=Object()=PMC(0x8508540)
43 find_lex_skip_current P2, "$/" P2=PMCNULL
46 new P5, PC27, P2 P5=PMCNULL PC27=Key=PMC(0x87b9cb0) P2=PMCNULL
50 setprop P5, "rw", P10 P5= 1296 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
1299 set_args PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=Object()=PMC(0xb5dd9574)
1302 get_results PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=PMCNULL
1305 callmethodcc P2, "HOW" P2=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1308 getattribute P1, P0, "longname" P1=PMCNULL P0=Object(ClassHOW)=PMC(0xb5ddb20c)
1312 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=String=PMC(0xb5dd9740 Str:"Object")
1315 returncc
Object=PMC(0xb6225708) P10=Object()=PMC(0x8508540)
54 find_lex_skip_current P6, "$!" P6=PMCNULL
57 new P7, PC27, P6 P7=PMCNULL PC27=Key=PMC(0x87b9cb0) P6=PMCNULL
61 setprop P7, "rw", P10 P7= 1296 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
1299 set_args PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=Object()=PMC(0xb5dd9574)
1302 get_results PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=PMCNULL
1305 callmethodcc P2, "HOW" P2=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1308 getattribute P1, P0, "longname" P1=PMCNULL P0=Object(ClassHOW)=PMC(0xb5ddb20c)
1312 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=String=PMC(0xb5dd9740 Str:"Object")
1315 returncc
Object=PMC(0xb6225550) P10=Object()=PMC(0x8508540)
65 set_args PC17 (1), 1
68 find_sub_not_null P3, "&sin" P3=PMCNULL
71 get_results PC3 (1), P8 PC3=FixedIntegerArray=PMC(0x87b9c60) P8=PMCNULL
74 invokecc P3 P3=Perl6MultiSub=PMC(0xb679bb38)
1339 get_params PC16 (2), P3, P4 PC16=FixedIntegerArray=PMC(0xb5d9d588) P3=PMCNULL P4=PMCNULL
1343 set_args PC4 (1), P3 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P3=Object()=PMC(0xb5dd9574)
1346 get_results PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
1349 callmethodcc P3, "HOW" P3=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1352 set_args PC16 (2), P2, P3 PC16=FixedIntegerArray=PMC(0xb5d9d588) P2=Object(ClassHOW)=PMC(0xb5ddb20c) P3=Object()=PMC(0xb5dd9574)
1356 get_results PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=PMCNULL
1359 callmethodcc P2, "get_parrotclass" P2=Object(ClassHOW)=PMC(0xb5ddb20c)
1138 get_params PC141 (5), P3, P4, "hll", P2, I0 PC141=FixedIntegerArray=PMC(0xb5d9e730) P3=PMCNULL P4=PMCNULL P2=PMCNULL I0=145309864
1145 if_null P4, 113 P4=Object()=PMC(0xb5dd9574)
1148 set P0, P4 P0=PMCNULL P4=Object()=PMC(0xb5dd9574)
1151 typeof S0, P4 S0="(null)" P4=Object()=PMC(0xb5dd9574)
1296 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
1299 set_args PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=Object()=PMC(0xb5dd9574)
1302 get_results PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=PMCNULL
1305 callmethodcc P2, "HOW" P2=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1308 getattribute P1, P0, "longname" P1=PMCNULL P0=Object(ClassHOW)=PMC(0xb5ddb20c)
1312 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=String=PMC(0xb5dd9740 Str:"Object")
1315 returncc
1154 eq S0, "Class", 104 S0="Object"
1158 eq S0, "PMCProxy", 100 S0="Object"
1162 isa I1, P4, "String" I1=145157320 P4=Object()=PMC(0xb5dd9574)
1166 if I1, 41 I1=0
1169 isa I1, P4, "NameSpace" I1=0 P4=Object()=PMC(0xb5dd9574)
1173 if I1, 72 I1=0
1176 isa I1, P4, "P6object" I1=0 P4=Object()=PMC(0xb5dd9574)
1180 if I1, 10 I1=1
1190 set_args PC4 (1), P4 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P4=Object()=PMC(0xb5dd9574)
1193 get_results PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=PMCNULL
1196 callmethodcc P4, "HOW" P4=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1199 getattribute P0, P1, "parrotclass" P0=Object()=PMC(0xb5dd9574) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
1203 set_returns PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=Class=PMC(0xb5dd8a20)
1206 returncc
1362 set S0, P0 S0="(null)" P0=Class=PMC(0xb5dd8a20)
1365 eq S0, "Perl6Object", 50 S0="Perl6Object"
1415 set I0, 1 I0=145309608
1418 set_returns PC27 (1), I0 PC27=FixedIntegerArray=PMC(0xb5d9d77c) I0=1
1421 returncc
1339 get_params PC16 (2), P3, P4 PC16=FixedIntegerArray=PMC(0xb5d9d588) P3=PMCNULL P4=PMCNULL
1343 set_args PC4 (1), P3 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P3=Object()=PMC(0xb5dd9574)
1346 get_results PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
1349 callmethodcc P3, "HOW" P3=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1352 set_args PC16 (2), P2, P3 PC16=FixedIntegerArray=PMC(0xb5d9d588) P2=Object(ClassHOW)=PMC(0xb5ddb20c) P3=Object()=PMC(0xb5dd9574)
1356 get_results PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=PMCNULL
1359 callmethodcc P2, "get_parrotclass" P2=Object(ClassHOW)=PMC(0xb5ddb20c)
1138 get_params PC141 (5), P3, P4, "hll", P2, I0 PC141=FixedIntegerArray=PMC(0xb5d9e730) P3=PMCNULL P4=PMCNULL P2=PMCNULL I0=145310248
1145 if_null P4, 113 P4=Object()=PMC(0xb5dd9574)
1148 set P0, P4 P0=PMCNULL P4=Object()=PMC(0xb5dd9574)
1151 typeof S0, P4 S0="(null)" P4=Object()=PMC(0xb5dd9574)
1296 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
1299 set_args PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=Object()=PMC(0xb5dd9574)
1302 get_results PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=PMCNULL
1305 callmethodcc P2, "HOW" P2=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1308 getattribute P1, P0, "longname" P1=PMCNULL P0=Object(ClassHOW)=PMC(0xb5ddb20c)
1312 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=String=PMC(0xb5dd9740 Str:"Object")
1315 returncc
1154 eq S0, "Class", 104 S0="Object"
1158 eq S0, "PMCProxy", 100 S0="Object"
1162 isa I1, P4, "String" I1=-1239295220 P4=Object()=PMC(0xb5dd9574)
1166 if I1, 41 I1=0
1169 isa I1, P4, "NameSpace" I1=0 P4=Object()=PMC(0xb5dd9574)
1173 if I1, 72 I1=0
1176 isa I1, P4, "P6object" I1=0 P4=Object()=PMC(0xb5dd9574)
1180 if I1, 10 I1=1
1190 set_args PC4 (1), P4 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P4=Object()=PMC(0xb5dd9574)
1193 get_results PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=PMCNULL
1196 callmethodcc P4, "HOW" P4=Object()=PMC(0xb5dd9574)
54 get_params PC4 (1), P2 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P2=PMCNULL
57 typeof P0, P2 P0=PMCNULL P2=Object()=PMC(0xb5dd9574)
60 getprop P1, "metaclass", P0 P1=PMCNULL P0=Class=PMC(0xb5dd9164)
64 set_returns PC4 (1), P1 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
67 returncc
1199 getattribute P0, P1, "parrotclass" P0=Object()=PMC(0xb5dd9574) P1=Object(ClassHOW)=PMC(0xb5ddb20c)
1203 set_returns PC4 (1), P0 PC4=FixedIntegerArray=PMC(0xb5d9d4c0) P0=Class=PMC(0xb5dd8a20)
1206 returncc
1362 set S0, P0 S0="(null)" P0=Class=PMC(0xb5dd8a20)
1365 eq S0, "Perl6Object", 50 S0="Perl6Object"
1415 set I0, 1 I0=145310120
1418 set_returns PC27 (1), I0 PC27=FixedIntegerArray=PMC(0xb5d9d77c) I0=1
1421 returncc
6420 get_params PC9 (1), P3 PC9=FixedIntegerArray=PMC(0x8460850) P3=PMCNULL
6423 getattribute P0, P3, "$!do" P0=PMCNULL P3=Object(Perl6Sub)=PMC(0xb679ba70)
6427 getprop P0, "$!signature", P0 P0=Sub=PMC(0xb679c614 pc:146564) P0=Sub=PMC(0xb679c614 pc:146564)
6431 if_null P0, 21 P0=P6LowLevelSig=PMC(0xb6782ef8)
6434 get_hll_global P2, "Signature" P2=PMCNULL
6437 set_args PC839 (3), P2, "ll_sig", P0 PC839=FixedIntegerArray=PMC(0x84fab5c) P2=PMCNULL P0=P6LowLevelSig=PMC(0xb6782ef8)
6442 get_results PC9 (1), P2 PC9=FixedIntegerArray=PMC(0x8460850) P2=PMCNULL
6445 callmethodcc P2, "new" P2=PMCNULL
Null PMC access in find_method('new')
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment