Skip to content
Permalink
Browse files
CallInstr is always a ResultInstr.
  • Loading branch information
headius committed Nov 4, 2014
1 parent d3e98b6 commit 38c56aba18927abb0414b7fcef8c9d26bad3160c
Showing 1 changed file with 1 addition and 5 deletions.
@@ -1160,11 +1160,7 @@ private void superCommon(String name, CallInstr instr, Operand[] args, Operand d
throw new NotCompilableException("unknown super type " + operation + " in " + instr);
}

if (instr instanceof ResultInstr) {
jvmStoreLocal(((ResultInstr) instr).getResult());
} else {
jvmAdapter().pop();
}
jvmStoreLocal(instr.getResult());
}

@Override

0 comments on commit 38c56ab

Please sign in to comment.