Skip to content

Commit

Permalink
Locate meta-object via the SC. This way, we'll be able to have lexica…
Browse files Browse the repository at this point in the history
…lly imported/exported meta-objects, etc...plus it's a faster lookup.
  • Loading branch information
jnthn committed Apr 25, 2011
1 parent ace800f commit ec8a1e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/HLL/SerializationContextBuilder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,7 @@ class HLL::Compiler::SerializationContextBuilder {
my $how_name := @how_ns.pop();
my $setup_call := PAST::Op.new(
:pasttype('callmethod'), :name('new_type'),
PAST::Var.new( :name($how_name), :namespace(@how_ns), :scope('package') )
# XXX Not ready to do this quite yet...
# self.get_object_sc_ref_past($how)
self.get_object_sc_ref_past($how)
);
if pir::defined($name) {
$setup_call.push(PAST::Val.new( :value($name), :named('name') ));
Expand Down

0 comments on commit ec8a1e6

Please sign in to comment.