X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2FClassFileCompiler.java;h=0cb98882e11b8c18300a0a4a6ecccbfc7e06df80;hp=64269fba8c7dcd466e7d6c36e4af60b97da669b3;hb=e92c05246edb4f4001de61d3ad0bf76e75787ba0;hpb=27227d602d12a4ab3814d1481cebbd01dafb99c9 diff --git a/src/org/ibex/nestedvm/ClassFileCompiler.java b/src/org/ibex/nestedvm/ClassFileCompiler.java index 64269fb..0cb9888 100644 --- a/src/org/ibex/nestedvm/ClassFileCompiler.java +++ b/src/org/ibex/nestedvm/ClassFileCompiler.java @@ -558,6 +558,7 @@ public class ClassFileCompiler extends Compiler implements CGConst { // add another copy and jump over int b = mg.add(GOTO); + insnTargets[(pc+4-startOfMethod)/4].setTarget(mg.size()); emitInstruction(-1,nextInsn,01); // delay slot mg.setArg(b,mg.size());