Skip to content

Commit f786fd4

Browse files
committed
Fix a register allocation overlap bug.
1 parent 8c23a0a commit f786fd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/QAST/Compiler.nqp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ class QAST::Compiler is HLL::Compiler {
8686
%!lexical_regs := nqp::hash();
8787
%!reg_types := nqp::hash();
8888
@!loadlibs := nqp::list();
89-
$!cur_lex_p := 10;
90-
$!cur_lex_s := 10;
91-
$!cur_lex_i := 10;
92-
$!cur_lex_n := 10;
89+
$!cur_lex_p := 100;
90+
$!cur_lex_s := 100;
91+
$!cur_lex_i := 100;
92+
$!cur_lex_n := 100;
9393
}
9494

9595
method add_param($var) {

0 commit comments

Comments
 (0)