From: brian Date: Fri, 7 May 2004 01:15:12 +0000 (-0700) Subject: fix last few bugs preventing gcc from working X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=commitdiff_plain;h=f09bb94fa4801c2b38ee572f025963051d5bc3fa;hp=85c803d14b412baa6cc72c6c5a4c95905fb21580 fix last few bugs preventing gcc from working darcs-hash:20040507011512-24bed-503ba6ef7f74ec846b2576c98304b7d41f6609d1.gz --- diff --git a/src/org/ibex/nestedvm/ClassFileCompiler.java b/src/org/ibex/nestedvm/ClassFileCompiler.java index 208e365..b799beb 100644 --- a/src/org/ibex/nestedvm/ClassFileCompiler.java +++ b/src/org/ibex/nestedvm/ClassFileCompiler.java @@ -45,7 +45,7 @@ public class ClassFileCompiler extends Compiler implements org.apache.bcel.Const // Handy wrappers around the BCEL functions private InstructionList insnList; - private void selectMethod(MethodGen m) { insnList = m.getInstructionList(); } + private void selectMethod(MethodGen m) { insnList = m.getInstructionList(); } private void selectList(InstructionList l) { insnList = l; } private InstructionHandle a(Instruction i) { return insnList.append(i); } private BranchHandle a(BranchInstruction i) { return insnList.append(i); } @@ -151,11 +151,11 @@ public class ClassFileCompiler extends Compiler implements org.apache.bcel.Const int end = ((text.addr + text.size) >>> methodShift); // This data is redundant but BCEL wants it - int[] matches = new int[end-beg]; - for(int i=beg;i>> 32); lo = (int) hilo; break;