File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,10 @@ class HLL::Compiler {
242
242
243
243
% adverbs . update(% opts );
244
244
self . usage($ program-name ) if % adverbs <help > || % adverbs <h >;
245
+
246
+ if ! nqp ::existskey(% adverbs , ' precomp' ) && % adverbs <target > eq ' pir' {
247
+ % adverbs <precomp > := 1 ;
248
+ }
245
249
246
250
pir::load_bytecode__vs(' dumper.pbc' );
247
251
pir::load_bytecode__vs(' PGE/Dumper.pbc' );
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class HLL::World {
55
55
% ! addr_to_slot := nqp ::hash();
56
56
@ ! fixup_tasks := nqp ::list();
57
57
@ ! load_dependency_tasks := nqp ::list();
58
- $ ! precomp_mode := % * COMPILING <%?OPTIONS ><target > eq ' pir ' ;
58
+ $ ! precomp_mode := % * COMPILING <%?OPTIONS ><precomp > ;
59
59
$ ! num_code_refs := 0 ;
60
60
$ ! code_ref_blocks := [];
61
61
nqp ::scsetdesc($ ! sc , $ description );
You can’t perform that action at this time.
0 commit comments