Skip to content

Instantly share code, notes, and snippets.

@pmichaud
Created July 2, 2012 13:01
Show Gist options
  • Select an option

  • Save pmichaud/3033165 to your computer and use it in GitHub Desktop.

Select an option

Save pmichaud/3033165 to your computer and use it in GitHub Desktop.
pmichaud@kiwi:~/p6/nqp$ ./nqp --target=past t001.nqp
"past" => PMC 'PAST;Block' {
<hll> => "nqp"
<loadinit> => PMC 'PAST;Stmts' {
[0] => PMC 'PAST;Stmts' {
[0] => PMC 'PAST;Stmt' {
[0] => PMC 'PAST;Stmts' {
[0] => PMC 'PAST;Op' {
<name> => "set_static_lexpad_value"
<pasttype> => "callmethod"
[0] => PMC 'PAST;Val' {
<returns> => "LexInfo"
<value> => \past
}
[1] => "GLOBALish"
[2] => PMC 'PAST;Op' {
<compile_time_value> => PMC 'GLOBALish' { ... }
<has_compile_time_value> => 1
<pirop> => "nqp_get_sc_object Psi"
[0] => "C1AB93D5C1DAB505D44DF0B3A5B217FCB3BEBC9B-1341233818.74008"
[1] => 0
}
}
[1] => PMC 'PAST;Op' {
<name> => "finish_static_lexpad"
<pasttype> => "callmethod"
[0] => PMC 'PAST;Val' {
<returns> => "LexInfo"
<value> => \past
}
}
}
}
[1] => PMC 'PAST;Stmt' {
[0] => PMC 'PAST;Stmts' {
[0] => PMC 'PAST;Op' {
<name> => "set_static_lexpad_value"
<pasttype> => "callmethod"
[0] => PMC 'PAST;Val' {
<returns> => "LexInfo"
<value> => \past
}
[1] => "$?PACKAGE"
[2] => PMC 'PAST;Op' {
<compile_time_value> => \past
<has_compile_time_value> => 1
<pirop> => "nqp_get_sc_object Psi"
[0] => \past
[1] => \past
}
}
[1] => PMC 'PAST;Op' {
<name> => "finish_static_lexpad"
<pasttype> => "callmethod"
[0] => PMC 'PAST;Val' {
<returns> => "LexInfo"
<value> => \past
}
}
}
}
[2] => PMC 'PAST;Stmt' {
[0] => PMC 'PAST;Op' {
<name> => "set_outer_ctx"
<pasttype> => "callmethod"
[0] => PMC 'PAST;Var' {
<name> => "block"
<scope> => "register"
}
[1] => PMC 'PAST;Op' {
<name> => "load_setting"
<pasttype> => "callmethod"
[0] => PMC 'PAST;Var' {
<name> => "ModuleLoader"
<namespace> => ResizablePMCArray (size:0) [
]
<scope> => "package"
}
[1] => "NQPCORE"
}
}
}
}
[1] => PMC 'PAST;Op' {
<pasttype> => "bind_6model"
[0] => PMC 'PAST;Var' {
<name> => "GLOBAL"
<namespace> => ResizablePMCArray (size:0) [
]
<scope> => "package"
}
[1] => PMC 'PAST;Op' {
<compile_time_value> => \past
<has_compile_time_value> => 1
<pirop> => "nqp_get_sc_object Psi"
[0] => \past
[1] => \past
}
}
}
<loadlibs> => ResizablePMCArray (size:5) [
"nqp_group",
"nqp_ops",
"nqp_bigint_ops",
"trans_ops",
"io_ops"
]
<namespace> => ResizableStringArray (size:0) [
]
<pos> => 0
<source> => "say(1);\n"
<symtable> => Hash {
"$?PACKAGE" => Hash {
"scope" => "lexical",
"value" => PMC 'GLOBALish' { ... }
},
"$test_counter" => Hash {
"scope" => "lexical",
"value" => 0
},
"$todo_reason" => Hash {
"scope" => "lexical",
"value" => ""
},
"$todo_upto_test_num" => Hash {
"scope" => "lexical",
"value" => 0
},
"@ARGS" => Hash {
"scope" => "lexical",
"value" => ResizablePMCArray (size:0) [
]
},
"EXPORTHOW" => Hash {
"scope" => "lexical",
"value" => PMC 'EXPORTHOW' No method cache and no find_method method in meta-object
current instr.: 'parrot;Data;Dumper;Default;pmcDefault' pc 242 (runtime/parrot/library/Data/Dumper/Default.pir:203)
called from Sub 'parrot;Data;Dumper;Base;dump' pc 383 (runtime/parrot/library/Data/Dumper/Base.pir:251)
called from Sub 'parrot;Data;Dumper;Default;dumpWithName' pc 40 (runtime/parrot/library/Data/Dumper/Default.pir:56)
called from Sub 'parrot;Data;Dumper;Default;genericHash' pc 184 (runtime/parrot/library/Data/Dumper/Default.pir:153)
called from Sub 'parrot;Data;Dumper;Base;dump' pc 383 (runtime/parrot/library/Data/Dumper/Base.pir:251)
called from Sub 'parrot;Data;Dumper;Default;dumpWithName' pc 40 (runtime/parrot/library/Data/Dumper/Default.pir:56)
called from Sub 'parrot;Data;Dumper;Default;genericHash' pc 184 (runtime/parrot/library/Data/Dumper/Default.pir:153)
called from Sub 'parrot;Data;Dumper;Base;dump' pc 383 (runtime/parrot/library/Data/Dumper/Base.pir:251)
called from Sub 'parrot;Capture;__dump' pc 600 (runtime/parrot/library/Data/Dumper/Default.pir:454)
called from Sub 'parrot;Data;Dumper;Default;pmcDefault' pc 261 (runtime/parrot/library/Data/Dumper/Default.pir:208)
called from Sub 'parrot;Data;Dumper;Base;dump' pc 383 (runtime/parrot/library/Data/Dumper/Base.pir:251)
called from Sub 'parrot;Data;Dumper;Default;dumpWithName' pc 40 (runtime/parrot/library/Data/Dumper/Default.pir:56)
called from Sub 'parrot;Data;Dumper;dumper' pc 70 (runtime/parrot/library/Data/Dumper.pir:43)
called from Sub '_dumper' pc 56 (runtime/parrot/library/dumper.pir:89)
called from Sub 'nqp;HLL;Compiler;dumper' pc 37875 (src/stage2/gen/NQPHLL.pir:16101) (src/stage2/gen/NQPHLL.pm:1549)
called from Sub 'nqp;HLL;Compiler;evalfiles' pc 35962 (src/stage2/gen/NQPHLL.pir:15138) (src/stage2/gen/NQPHLL.pm:1455)
called from Sub 'nqp;HLL;Compiler;_block1885' pc 34406 (src/stage2/gen/NQPHLL.pir:14410) (src/stage2/gen/NQPHLL.pm:1372)
called from Sub 'nqp;HLL;Compiler;command_eval' pc 33983 (src/stage2/gen/NQPHLL.pir:14227) (src/stage2/gen/NQPHLL.pm:1387)
called from Sub 'nqp;HLL;Compiler;command_line' pc 33545 (src/stage2/gen/NQPHLL.pir:14021) (src/stage2/gen/NQPHLL.pm:1336)
called from Sub 'MAIN' pc 10619 (src/stage2/gen/NQP.pir:3419) (src/stage2/gen/NQP.pm:2933)
called from Sub '_block1000' pc 201 (src/stage2/gen/NQP.pir:106) (src/stage2/gen/NQP.pm:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment