Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get rid of another QAST::VM.
Seems this is one of, if not the last QAST::VM node in code-gen that
should be portable. Of course, still a bunch of pir:: and Q:PIR uses
to go.
  • Loading branch information
jnthn committed Feb 17, 2013
1 parent c484723 commit afbe2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NQP/World.pm
Expand Up @@ -383,8 +383,8 @@ class NQP::World is HLL::World {
else {
# For fixup, if we have no code body, we need to assign the method body
# we actually compiled into the one that went into the SC.
$fixups.push(QAST::VM.new(
:pirop('assign vPP'),
$fixups.push(QAST::Op.new(
:op('replacecoderef'),
QAST::Op.new(
:op('scgetcode'),
QAST::SVal.new( :value(self.handle()) ),
Expand Down

0 comments on commit afbe2be

Please sign in to comment.