Skip to content

Commit afbe2be

Browse files
committed
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.
1 parent c484723 commit afbe2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NQP/World.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ class NQP::World is HLL::World {
383383
else {
384384
# For fixup, if we have no code body, we need to assign the method body
385385
# we actually compiled into the one that went into the SC.
386-
$fixups.push(QAST::VM.new(
387-
:pirop('assign vPP'),
386+
$fixups.push(QAST::Op.new(
387+
:op('replacecoderef'),
388388
QAST::Op.new(
389389
:op('scgetcode'),
390390
QAST::SVal.new( :value(self.handle()) ),

0 commit comments

Comments
 (0)