Skip to content

Commit

Permalink
bring back %*VM, though currently it is a parrot Hash, not a Rakudo H…
Browse files Browse the repository at this point in the history
…ash (no idea how to fix that :/ )
  • Loading branch information
moritz committed Apr 5, 2010
1 parent 1795a2e commit 2464ddb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/glue/run.pir
Expand Up @@ -53,6 +53,17 @@ of the compilation unit.
$P2 = new ['Array']
$P2.'!STORE'($P1)
set_hll_global '@ARGS', $P2

## set up %*VM
load_bytecode 'config.pbc'
.local pmc vm, interp, config
vm = new ['Hash']
interp = getinterp
config = interp[.IGLOBALS_CONFIG_HASH]
config = new ['Perl6Scalar'], config
vm['config'] = config
set_hll_global ['PROCESS'], "%VM", vm

unit_start_0:

# Turn the env PMC into %*ENV (just read-only so far)
Expand Down

0 comments on commit 2464ddb

Please sign in to comment.