Permalink
Browse files

Fix the if pirop output

  • Loading branch information...
1 parent 175b29e commit ff94e27033552b61989e499ad8019341431c96a1 @atrodo atrodo committed Jul 4, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 compilers/opsc/lasm.nqp
@@ -358,6 +358,8 @@ method handle_op($op)
self<fh>.print(" INT GOTO :l$false;\n");
self<fh>.print(" l$true: INT NOOP;\n");
+ self.dealloc($cond);
+
my $node_ret := self.handle_node($op[1]);
self.dealloc($node_ret);
@@ -373,7 +375,7 @@ method handle_op($op)
}
else
{
- self<fh>.print(" $false: INT NOOP;\n");
+ self<fh>.print(" l$false: INT NOOP;\n");
}
return "";

0 comments on commit ff94e27

Please sign in to comment.