Skip to content

Instantly share code, notes, and snippets.

@mrchnk
Created March 5, 2014 07:17
Show Gist options
  • Save mrchnk/9362619 to your computer and use it in GitHub Desktop.
Save mrchnk/9362619 to your computer and use it in GitHub Desktop.
Bytecode of test() by asc2 without -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
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