Created
April 20, 2016 02:11
-
-
Save creationix/1d52c2723279105f2b0ccfdd0298a3fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
luajit -ble 'local a = 1;function b() return a + 1; end;return b()' | |
-- BYTECODE -- 0x41ab0238:1-1 | |
0001 UGET 0 0 ; a | |
0002 ADDVN 0 0 0 ; 1 | |
0003 RET1 0 2 | |
-- BYTECODE -- 0x41aa48b8:0-1 | |
0001 KSHORT 0 1 | |
0002 FNEW 1 0 ; 0x41ab0238:1 | |
0003 GSET 1 1 ; "b" | |
0004 GGET 1 1 ; "b" | |
0005 UCLO 0 => 0006 | |
0006 => CALLT 1 1 |
daurnimator
commented
Apr 20, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment