lunar_wave/lunar_wave_vm/test_vectors/functions.txt

85 lines
2.5 KiB
Plaintext

main <test_vectors/functions.lua:0,0> (15 instructions at 0x559bfdbb1c90)
0+ params, 4 slots, 1 upvalue, 2 locals, 5 constants, 3 functions
1 [1] VARARGPREP 0
2 [1] GETTABUP 0 0 0 ; _ENV "print"
3 [1] LOADK 1 1 ; "p_1"
4 [1] CALL 0 2 1 ; 1 in 0 out
5 [9] CLOSURE 0 0 ; 0x559bfdbb1f40
6 [3] SETTABUP 0 2 0 ; _ENV "aa"
7 [11] GETTABUP 0 0 0 ; _ENV "print"
8 [11] LOADK 1 3 ; "p_4"
9 [11] CALL 0 2 1 ; 1 in 0 out
10 [15] CLOSURE 0 1 ; 0x559bfdbb2240
11 [19] CLOSURE 1 2 ; 0x559bfdbb2390
12 [21] GETTABUP 2 0 0 ; _ENV "print"
13 [21] LOADK 3 4 ; "p_7"
14 [21] CALL 2 2 1 ; 1 in 0 out
15 [21] RETURN 2 1 1 ; 0 out
constants (5) for 0x559bfdbb1c90:
0 S "print"
1 S "p_1"
2 S "aa"
3 S "p_4"
4 S "p_7"
locals (2) for 0x559bfdbb1c90:
0 cc 11 16
1 dd 12 16
upvalues (1) for 0x559bfdbb1c90:
0 _ENV 1 0
function <test_vectors/functions.lua:3,9> (6 instructions at 0x559bfdbb1f40)
0 params, 2 slots, 1 upvalue, 0 locals, 3 constants, 1 function
1 [4] GETTABUP 0 0 0 ; _ENV "print"
2 [4] LOADK 1 1 ; "p_2"
3 [4] CALL 0 2 1 ; 1 in 0 out
4 [8] CLOSURE 0 0 ; 0x559bfdbb20d0
5 [6] SETTABUP 0 2 0 ; _ENV "bb"
6 [9] RETURN0
constants (3) for 0x559bfdbb1f40:
0 S "print"
1 S "p_2"
2 S "bb"
locals (0) for 0x559bfdbb1f40:
upvalues (1) for 0x559bfdbb1f40:
0 _ENV 0 0
function <test_vectors/functions.lua:6,8> (4 instructions at 0x559bfdbb20d0)
0 params, 2 slots, 1 upvalue, 0 locals, 2 constants, 0 functions
1 [7] GETTABUP 0 0 0 ; _ENV "print"
2 [7] LOADK 1 1 ; "p_3"
3 [7] CALL 0 2 1 ; 1 in 0 out
4 [8] RETURN0
constants (2) for 0x559bfdbb20d0:
0 S "print"
1 S "p_3"
locals (0) for 0x559bfdbb20d0:
upvalues (1) for 0x559bfdbb20d0:
0 _ENV 0 0
function <test_vectors/functions.lua:13,15> (4 instructions at 0x559bfdbb2240)
0 params, 2 slots, 1 upvalue, 0 locals, 2 constants, 0 functions
1 [14] GETTABUP 0 0 0 ; _ENV "print"
2 [14] LOADK 1 1 ; "p_5"
3 [14] CALL 0 2 1 ; 1 in 0 out
4 [15] RETURN0
constants (2) for 0x559bfdbb2240:
0 S "print"
1 S "p_5"
locals (0) for 0x559bfdbb2240:
upvalues (1) for 0x559bfdbb2240:
0 _ENV 0 0
function <test_vectors/functions.lua:17,19> (4 instructions at 0x559bfdbb2390)
0 params, 2 slots, 1 upvalue, 0 locals, 2 constants, 0 functions
1 [18] GETTABUP 0 0 0 ; _ENV "print"
2 [18] LOADK 1 1 ; "p_6"
3 [18] CALL 0 2 1 ; 1 in 0 out
4 [19] RETURN0
constants (2) for 0x559bfdbb2390:
0 S "print"
1 S "p_6"
locals (0) for 0x559bfdbb2390:
upvalues (1) for 0x559bfdbb2390:
0 _ENV 0 0