Skip to content

Commit

Permalink
make @*ARGS writable. This allows us to run S06-other/main.t, so do that
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jun 10, 2010
1 parent 3b29cd2 commit ec2694e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/glue/run.pir
Expand Up @@ -56,6 +56,8 @@ of the compilation unit.
.param pmc args :slurpy

.local string info
.local pmc true
true = get_hll_global 'True'

info = interpinfo .INTERPINFO_EXECUTABLE_FULLNAME
$P0 = new ['Str']
Expand Down Expand Up @@ -83,6 +85,7 @@ of the compilation unit.
$P2 = new ['Array']
$P2.'!STORE'($P1)
set_hll_global '@ARGS', $P2
setprop $P2, "rw", true

## set up %*VM
load_bytecode 'config.pbc'
Expand Down
2 changes: 1 addition & 1 deletion t/spectest.data
Expand Up @@ -330,7 +330,7 @@ S06-operator-overloading/methods.t
S06-operator-overloading/sub.t
# S06-operator-overloading/workout.t
S06-other/anon-hashes-vs-blocks.t
# S06-other/main.t
S06-other/main.t
S06-other/main-eval.t
S06-other/misc.t
S06-routine-modifiers/scoped-named-subs.t
Expand Down

0 comments on commit ec2694e

Please sign in to comment.