Skip to content

Commit

Permalink
Fiddle with the bootstrap code so things build with the new lexpad cl…
Browse files Browse the repository at this point in the history
…asses.
  • Loading branch information
jnthn committed Mar 7, 2011
1 parent 5ad5467 commit 35ee39a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/stage0/HLL-s0.pir
Expand Up @@ -15,6 +15,11 @@ and HLL::Grammar.

.HLL 'nqp'

.loadlib "nqp_group"

.loadlib "nqp_ops"


.sub '' :anon :load :init
load_bytecode 'Regex.pbc'
.end
Expand Down Expand Up @@ -81,10 +86,6 @@ and HLL::Grammar.

.HLL "nqp"

.loadlib "nqp_group"

.loadlib "nqp_ops"

.namespace []
.sub "_block11" :anon :subid("10_1299450562.384")
.annotate 'line', 0
Expand Down
6 changes: 6 additions & 0 deletions src/stage0/NQP-s0.pir
Expand Up @@ -15,6 +15,12 @@ NQP::Compiler - NQP compiler
.loadlib "nqp_ops"
.sub '' :anon :load :init
nqp_dynop_setup

.local pmc interp, lexpad, nqplexpad
interp = getinterp
lexpad = get_class 'LexPad'
nqplexpad = get_class 'NQPLexPad'
interp.'hll_map'(lexpad, nqplexpad)
.end
### .include 'gen/nqp-how.pir'

Expand Down

0 comments on commit 35ee39a

Please sign in to comment.