Skip to content

Commit

Permalink
s/CREATE_HASH_LOW_LEVEL/CREATE_HASH_FROM_LOW_LEVEL/
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jun 12, 2010
1 parent a63c7e0 commit 5ad963b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -934,7 +934,7 @@ sub declare_variable($/, $past, $sigil, $twigil, $desigilname, $trait_list) {
# Not an attribute - need to emit delcaration here.
# Create the container
my $cont := $sigil eq '%' ??
PAST::Op.new( :name('&CREATE_HASH_LOW_LEVEL'), :pasttype('call') ) !!
PAST::Op.new( :name('&CREATE_HASH_FROM_LOW_LEVEL'), :pasttype('call') ) !!
PAST::Op.new( sigiltype($sigil), :pirop('new Ps') );

# Give it a 'rw' property unless it's explicitly readonly.
Expand Down
2 changes: 1 addition & 1 deletion src/builtins/Mu.pir
Expand Up @@ -266,7 +266,7 @@ XXX This had probably best really just tailcall .^CREATE; move this stuff later.
attr = new ['Array']
goto attrinit_rw
attrinit_hash:
attr = '&CREATE_HASH_LOW_LEVEL'()
attr = '&CREATE_HASH_FROM_LOW_LEVEL'()
attrinit_rw:
setprop attr, 'rw', attr
setattribute example, cur_class, attrname, attr
Expand Down
2 changes: 1 addition & 1 deletion src/core/Match.pm
Expand Up @@ -44,7 +44,7 @@ class Match is Regex::Match is Cool does Associative {

multi method hash() {
# nextsame() dies here with 'Null PMC access in clone()'
CREATE_HASH_LOW_LEVEL(self.Regex::Match::hash);
CREATE_HASH_FROM_LOW_LEVEL(self.Regex::Match::hash);
}

multi method list() {
Expand Down
2 changes: 1 addition & 1 deletion src/glue/run.pir
Expand Up @@ -102,7 +102,7 @@ of the compilation unit.
# Turn the env PMC into %*ENV (just read-only so far)
.local pmc env
env = root_new ['parrot';'Env']
$P2 = '&CREATE_HASH_LOW_LEVEL'(env)
$P2 = '&CREATE_HASH_FROM_LOW_LEVEL'(env)
set_hll_global '%ENV', $P2

# INIT time
Expand Down
2 changes: 1 addition & 1 deletion src/glue/types.pir
Expand Up @@ -56,7 +56,7 @@ subtyping relations, etc).
.end


.sub '&CREATE_HASH_LOW_LEVEL'
.sub '&CREATE_HASH_FROM_LOW_LEVEL'
.param pmc storage :optional
unless null storage goto have_storage
storage = root_new ['parrot';'Hash']
Expand Down

0 comments on commit 5ad963b

Please sign in to comment.