Skip to content

Commit 35ee39a

Browse files
committed
Fiddle with the bootstrap code so things build with the new lexpad classes.
1 parent 5ad5467 commit 35ee39a

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/stage0/HLL-s0.pir

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ and HLL::Grammar.
1515

1616
.HLL 'nqp'
1717

18+
.loadlib "nqp_group"
19+
20+
.loadlib "nqp_ops"
21+
22+
1823
.sub '' :anon :load :init
1924
load_bytecode 'Regex.pbc'
2025
.end
@@ -81,10 +86,6 @@ and HLL::Grammar.
8186

8287
.HLL "nqp"
8388

84-
.loadlib "nqp_group"
85-
86-
.loadlib "nqp_ops"
87-
8889
.namespace []
8990
.sub "_block11" :anon :subid("10_1299450562.384")
9091
.annotate 'line', 0

src/stage0/NQP-s0.pir

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ NQP::Compiler - NQP compiler
1515
.loadlib "nqp_ops"
1616
.sub '' :anon :load :init
1717
nqp_dynop_setup
18+
19+
.local pmc interp, lexpad, nqplexpad
20+
interp = getinterp
21+
lexpad = get_class 'LexPad'
22+
nqplexpad = get_class 'NQPLexPad'
23+
interp.'hll_map'(lexpad, nqplexpad)
1824
.end
1925
### .include 'gen/nqp-how.pir'
2026

0 commit comments

Comments
 (0)