Skip to content

Commit

Permalink
Be sure to keep tc.curFrame in sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jul 2, 2013
1 parent fa3d25f commit 800df5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vm/jvm/QAST/Compiler.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -1649,6 +1649,9 @@ QAST::OperationsJAST.add_core_op('handle', sub ($qastcomp, $op) {
$catchil.append(JAST::Instruction.new( :op('aload'), 'cf' ));
$catchil.append(JAST::Instruction.new( :op('invokestatic'), $TYPE_OPS,
'return_o', 'Void', $TYPE_SMO, $TYPE_CF ));
$catchil.append(JAST::Instruction.new( :op('aload'), 'cf' ));
$catchil.append(JAST::Instruction.new( :op('invokevirtual'),
$TYPE_CF, 'leave', 'Void' ));
$catchil.append($RETURN);
$catchil.append($exitlbl);

Expand Down

0 comments on commit 800df5e

Please sign in to comment.