Skip to content

Instantly share code, notes, and snippets.

@mrchnk
Last active August 29, 2015 13:57
Show Gist options
  • Save mrchnk/9362522 to your computer and use it in GitHub Desktop.
Save mrchnk/9362522 to your computer and use it in GitHub Desktop.
Bytecode of test() by asc2 with -inline
private function test():void
{
bb0
succs=[bb3]
getlocal0
pushscope
getlex _obj
setlocal1
jump bb3
bb1
succs=[bb5]
label
getlex trace
getglobalscope
pushstring "ClassA.ref"
call 1
pop
jump bb5
bb2
succs=[bb5]
label
getlex trace
getglobalscope
pushstring "default"
call 1
pop
jump bb5
bb3
succs=[bb4,bb1]
getlex ClassA
setlocal1
finddef ClassA
getproperty ClassA
getproperty _ref
getlocal1
ifstricteq bb1
bb4
succs=[bb2]
jump bb2
bb5
succs=[]
returnvoid
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment