-
-
Save FROGGS/43f4ae11d579518d3948 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
C:\MoarVM\nqp-cc>..\moarvm.exe nqp.moarvm -e "say(42)" | |
MAST::Frame name: frame_name_0, cuuid: frame_cuuid_1 | |
Lexical types: 0: obj, 1: obj, 2: obj, 3: obj, | |
Lexical names: 0: @ARGS, 1: GLOBALish, 2: $?PACKAGE, 3: EXPORT, | |
Local types: 0: obj, 1: obj, 2: str, 3: int, 4: int, 5: obj, 6: obj, 7: obj, 8: obj, | |
Lexical map: @ARGS: 0 GLOBALish: 1 $?PACKAGE: 2 EXPORT: 3 | |
Outer: <none> | |
Instructions: | |
0: MAST::Op: checkarity, operands: | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
MAST::IVal: value: -1, size: 16, signed: 1 | |
1: MAST::Op: param_sp, operands: | |
MAST::Local: index: 0 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
2: MAST::Op: bindlex, operands: | |
MAST::Lexical: index: 0, frames_out: 0 | |
MAST::Local: index: 0 | |
3: MAST::Op: getlex, operands: | |
MAST::Local: index: 0 | |
MAST::Lexical: index: 0, frames_out: 0 | |
4: MAST::Op: getlex, operands: | |
MAST::Local: index: 0 | |
MAST::Lexical: index: 1, frames_out: 0 | |
5: MAST::Op: getlex, operands: | |
MAST::Local: index: 0 | |
MAST::Lexical: index: 2, frames_out: 0 | |
6: MAST::Op: getlex, operands: | |
MAST::Local: index: 0 | |
MAST::Lexical: index: 3, frames_out: 0 | |
7: MAST::Op: const_s, operands: | |
MAST::Local: index: 2 | |
MAST::SVal: value: $*CTXSAVE | |
8: MAST::Op: getdynlex, operands: | |
MAST::Local: index: 0 | |
MAST::Local: index: 2 | |
9: MAST::Op: set, operands: | |
MAST::Local: index: 1 | |
MAST::Local: index: 0 | |
10: MAST::Op: isnull, operands: | |
MAST::Local: index: 3 | |
MAST::Local: index: 1 | |
11: MAST::Op: hllboxtype_i, operands: | |
MAST::Local: index: 8 | |
12: MAST::Op: box_i, operands: | |
MAST::Local: index: 8 | |
MAST::Local: index: 3 | |
MAST::Local: index: 8 | |
13: MAST::Op: set, operands: | |
MAST::Local: index: 7 | |
MAST::Local: index: 8 | |
14: MAST::Op: if_i, operands: | |
MAST::Local: index: 3 | |
MAST::Label: name: unless2_end | |
15: MAST::Op: const_s, operands: | |
MAST::Local: index: 2 | |
MAST::SVal: value: ctxsave | |
16: MAST::Op: can_s, operands: | |
MAST::Local: index: 4 | |
MAST::Local: index: 1 | |
MAST::Local: index: 2 | |
17: MAST::Op: hllboxtype_i, operands: | |
MAST::Local: index: 6 | |
18: MAST::Op: box_i, operands: | |
MAST::Local: index: 6 | |
MAST::Local: index: 4 | |
MAST::Local: index: 6 | |
19: MAST::Op: set, operands: | |
MAST::Local: index: 5 | |
MAST::Local: index: 6 | |
20: MAST::Op: unless_i, operands: | |
MAST::Local: index: 4 | |
MAST::Label: name: if3_end | |
21: MAST::Op: findmeth, operands: | |
MAST::Local: index: 0 | |
MAST::Local: index: 1 | |
MAST::SVal: value: ctxsave | |
22: MAST::Call: target: | |
MAST::Local: index: 0 | |
result: | |
MAST::Local: index: 0 | |
flags: | |
positional obj | |
args: | |
MAST::Local: index: 1 | |
23: MAST::Op: set, operands: | |
MAST::Local: index: 5 | |
MAST::Local: index: 0 | |
24: MAST::Op: goto, operands: | |
MAST::Label: name: if3_end | |
25: MAST::Label: name: if3_else | |
26: MAST::Op: hllboxtype_i, operands: | |
MAST::Local: index: 0 | |
27: MAST::Op: box_i, operands: | |
MAST::Local: index: 0 | |
MAST::Local: index: 4 | |
MAST::Local: index: 0 | |
28: MAST::Op: set, operands: | |
MAST::Local: index: 5 | |
MAST::Local: index: 0 | |
29: MAST::Label: name: if3_end | |
30: MAST::Op: set, operands: | |
MAST::Local: index: 7 | |
MAST::Local: index: 5 | |
31: MAST::Op: goto, operands: | |
MAST::Label: name: unless2_end | |
32: MAST::Label: name: unless2_else | |
33: MAST::Op: hllboxtype_i, operands: | |
MAST::Local: index: 5 | |
34: MAST::Op: box_i, operands: | |
MAST::Local: index: 5 | |
MAST::Local: index: 3 | |
MAST::Local: index: 5 | |
35: MAST::Op: set, operands: | |
MAST::Local: index: 7 | |
MAST::Local: index: 5 | |
36: MAST::Label: name: unless2_end | |
37: MAST::Annotated: file: -e, line: 1, instructions: | |
MAST::Annotated: file: -e, line: 1, instructions: | |
MAST::Op: getlex_no, operands: | |
MAST::Local: index: 7 | |
MAST::SVal: value: &say | |
MAST::Op: const_i64, operands: | |
MAST::Local: index: 3 | |
MAST::IVal: value: 42, size: 64, signed: 1 | |
MAST::Call: target: | |
MAST::Local: index: 7 | |
result: | |
MAST::Local: index: 7 | |
flags: | |
positional int | |
args: | |
MAST::Local: index: 3 | |
38: MAST::Op: null, operands: | |
MAST::Local: index: 7 | |
39: MAST::Op: return_o, operands: | |
MAST::Local: index: 7 | |
MAST::Frame name: frame_name_4, cuuid: frame_cuuid_5 | |
Lexical types: | |
Lexical names: | |
Local types: 0: obj, 1: str, 2: obj, 3: obj, | |
Lexical map: | |
Outer: <none> | |
Instructions: | |
0: MAST::Op: checkarity, operands: | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
1: MAST::Op: getcode, operands: | |
MAST::Local: index: 0 | |
MAST::Frame name: frame_name_0, cuuid: frame_cuuid_1 | |
2: MAST::Op: const_s, operands: | |
MAST::Local: index: 1 | |
MAST::SVal: value: ModuleLoader | |
3: MAST::Op: getcurhllsym, operands: | |
MAST::Local: index: 2 | |
MAST::Local: index: 1 | |
4: MAST::Op: const_s, operands: | |
MAST::Local: index: 1 | |
MAST::SVal: value: NQPCOREMoar | |
5: MAST::Op: findmeth, operands: | |
MAST::Local: index: 3 | |
MAST::Local: index: 2 | |
MAST::SVal: value: load_setting | |
6: MAST::Call: target: | |
MAST::Local: index: 3 | |
result: | |
MAST::Local: index: 2 | |
flags: | |
positional obj | |
positional str | |
args: | |
MAST::Local: index: 2 | |
MAST::Local: index: 1 | |
7: MAST::Op: forceouterctx, operands: | |
MAST::Local: index: 0 | |
MAST::Local: index: 2 | |
8: MAST::Op: getcode, operands: | |
MAST::Local: index: 0 | |
MAST::Frame name: frame_name_0, cuuid: frame_cuuid_1 | |
9: MAST::Op: wval, operands: | |
MAST::Local: index: 2 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
10: MAST::Op: setlexvalue, operands: | |
MAST::Local: index: 0 | |
MAST::SVal: value: GLOBALish | |
MAST::Local: index: 2 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
11: MAST::Op: wval, operands: | |
MAST::Local: index: 2 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
12: MAST::Op: setlexvalue, operands: | |
MAST::Local: index: 0 | |
MAST::SVal: value: $?PACKAGE | |
MAST::Local: index: 2 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
13: MAST::Op: wval, operands: | |
MAST::Local: index: 2 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
MAST::IVal: value: 1, size: 64, signed: 1 | |
14: MAST::Op: setlexvalue, operands: | |
MAST::Local: index: 0 | |
MAST::SVal: value: EXPORT | |
MAST::Local: index: 2 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
15: MAST::Op: return_o, operands: | |
MAST::Local: index: 0 | |
MAST::Frame name: frame_name_6, cuuid: frame_cuuid_7 | |
Lexical types: | |
Lexical names: | |
Local types: 0: obj, | |
Lexical map: | |
Outer: <none> | |
Instructions: | |
0: MAST::Op: checkarity, operands: | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
1: MAST::Op: getcode, operands: | |
MAST::Local: index: 0 | |
MAST::Frame name: frame_name_0, cuuid: frame_cuuid_1 | |
2: MAST::Call: target: | |
MAST::Local: index: 0 | |
result: | |
MAST::Local: index: 0 | |
flags: | |
args: | |
3: MAST::Op: return_o, operands: | |
MAST::Local: index: 0 | |
MAST::Frame name: frame_name_8, cuuid: frame_cuuid_9 | |
Lexical types: | |
Lexical names: | |
Local types: 0: obj, 1: obj, | |
Lexical map: | |
Outer: <none> | |
Instructions: | |
0: MAST::Op: checkarity, operands: | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
1: MAST::Op: getcode, operands: | |
MAST::Local: index: 0 | |
MAST::Frame name: frame_name_10, cuuid: frame_cuuid_11 | |
2: MAST::Op: clargs, operands: | |
MAST::Local: index: 1 | |
3: MAST::Call: target: | |
MAST::Local: index: 0 | |
result: | |
MAST::Local: index: 1 | |
flags: | |
positional obj | |
args: | |
MAST::Local: index: 1 | |
4: MAST::Op: return_o, operands: | |
MAST::Local: index: 1 | |
MAST::Frame name: frame_name_10, cuuid: frame_cuuid_11 | |
Lexical types: | |
Lexical names: | |
Local types: 0: obj, 1: obj, | |
Lexical map: | |
Outer: name: frame_name_8, cuuid: frame_cuuid_9 | |
Instructions: | |
0: MAST::Op: checkarity, operands: | |
MAST::IVal: value: 0, size: 16, signed: 1 | |
MAST::IVal: value: -1, size: 16, signed: 1 | |
1: MAST::Op: param_sp, operands: | |
MAST::Local: index: 1 | |
MAST::IVal: value: 0, size: 64, signed: 1 | |
2: MAST::Op: getcode, operands: | |
MAST::Local: index: 0 | |
MAST::Frame name: frame_name_0, cuuid: frame_cuuid_1 | |
3: MAST::Call: target: | |
MAST::Local: index: 0 | |
result: | |
MAST::Local: index: 0 | |
flags: | |
flat obj | |
args: | |
MAST::Local: index: 1 | |
4: MAST::Op: return_o, operands: | |
MAST::Local: index: 0 | |
XXXX | |
at nqp-src\QASTMoar.nqp:7862 (./QASTMoar.moarvm:assemble_and_load:15) | |
from nqp-src\NQPHLL.nqp:915 (./NQPHLLMoar.moarvm:mbc:79) | |
from nqp-src\NQPHLL.nqp:1323 (./NQPHLLMoar.moarvm:frame_name_968:87) | |
from nqp-src\NQPHLL.nqp:1342 (./NQPHLLMoar.moarvm:compile:183) | |
from nqp-src\NQPHLL.nqp:1071 (./NQPHLLMoar.moarvm:eval:52) | |
from nqp-src\NQPHLL.nqp:1175 (./NQPHLLMoar.moarvm:frame_name_884:35) | |
from nqp-src\NQPHLL.nqp:1179 (./NQPHLLMoar.moarvm:command_eval:153) | |
from nqp-src\NQPHLL.nqp:1156 (./NQPHLLMoar.moarvm:command_line:129) | |
from nqp-src\NQP.nqp:3446 (nqp.moarvm:MAIN:23) | |
from nqp-src\NQP.nqp:3438 (nqp.moarvm:frame_name_0:292) | |
from <unknown>:1 (nqp.moarvm:frame_name_3780:6) | |
from <unknown>:1 (nqp.moarvm:frame_name_3778:6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment