bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public final void visit_iload(int index) { vstack.pushItem(IntItem.createLocal(stackFrame.getEbpOffset(index)));// final int ebpOfs = stackFrame.getEbpOffset(index);// os.writeMOV(INTSIZE, T0, FP, ebpOfs);// helper.writePUSH(T0); }
public final void visit_iload(int index) { vstack.pushItem(IntItem.createLocal(stackFrame.getEbpOffset(index)));// final int ebpOfs = stackFrame.getEbpOffset(index);// os.writeMOV(INTSIZE, T0, FP, ebpOfs);// helper.writePUSH(T0); }
53,134
public final void visit_imul() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP(S0); // Value2 helper.writePOP(EAX); // Value1 os.writeIMUL_EAX...
public final void visit_imul() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP(S0); // Value2 helper.writePOP(EAX); // Value1 os.writeIMUL_EAX...
53,135
public final void visit_ineg() { IntItem v = vstack.popInt(); v.load(eContext); os.writeNEG(v.getRegister()); vstack.pushItem(v); // helper.writePOP(T0);// os.writeNEG(T0);// helper.writePUSH(T0); }
public final void visit_ineg() { IntItem v = vstack.popInt(); v.load(eContext); os.writeNEG(v.getRegister()); vstack.pushItem(v); // helper.writePOP(T0);// os.writeNEG(T0);// helper.writePUSH(T0); }
53,136
public void visit_inlinedReturn() { //TODO: port to orp-style os.writeJMP(endOfInlineLabel); }
public void visit_inlinedReturn() { //TODO: port to orp-style os.writeJMP(endOfInlineLabel); }
53,137
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
53,138
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
53,139
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
53,140
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
53,141
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
public final void visit_instanceof(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); RefItem v = vstack.popRef(); vstack.pushItem(v); /* Objectref is already on the stack */ writeResolveAndLoadClassToEAX(classRef, S0); final Label trueLabel = new Label(this.curInstrLabel + "io-true"); ...
53,142
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,143
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,144
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,145
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,146
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,147
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,148
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,149
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,150
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,151
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,152
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,153
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = new * Label(this.curInstrLabel + "startClass"); os.setObjectRef(startC...
53,154
public final void visit_invokespecial(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); try { final VmMethod sm = methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type ...
public final void visit_invokespecial(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); try { final VmMethod sm = methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type ...
53,155
public final void visit_invokestatic(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmStaticMethod sm = (VmStaticMethod)methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check p...
public final void visit_invokestatic(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmStaticMethod sm = (VmStaticMethod)methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check p...
53,156
public final void visit_invokestatic(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmStaticMethod sm = (VmStaticMethod)methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check p...
public final void visit_invokestatic(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmStaticMethod sm = (VmStaticMethod)methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check p...
53,157
public final void visit_invokestatic(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmStaticMethod sm = (VmStaticMethod)methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check p...
public final void visit_invokestatic(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmStaticMethod sm = (VmStaticMethod)methodRef.getResolvedVmMethod(); final int nofArgs = sm.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check p...
53,158
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item...
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item...
53,159
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item...
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item...
53,160
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item...
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); final int nofArgs = mts.getNoArguments(); for (int i=0; i<nofArgs; i++) { //TODO: check parameter type Item...
53,161
public final void visit_ior() { //REFACTOR: parametrize the os.write operations to avoid code duplication //IMPROVE: allow parameter permutation IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); PrepareForOperation(v1, v2); switch(v2.getKind()) { case Item.REGISTER: os.writeOR(v1.getRegister(), v2...
public final void visit_ior() { //REFACTOR: parametrize the os.write operations to avoid code duplication //IMPROVE: allow parameter permutation IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); PrepareForOperation(v1, v2); switch(v2.getKind()) { case Item.REGISTER: os.writeOR(v1.getRegister(), v2...
53,162
public final void visit_irem() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP(S0); // Value2 helper.writePOP(EAX); // Value1 os.writeCDQ(); os...
public final void visit_irem() { //TODO: port to orp-style vstack.push(eContext); IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP(S0); // Value2 helper.writePOP(EAX); // Value1 os.writeCDQ(); os...
53,163
public final void visit_ireturn() { vstack.requestRegister(eContext, EAX); IntItem v = vstack.popInt(); v.loadTo(eContext, EAX); // helper.writePOP(T0); visit_return(); }
public final void visit_ireturn() { vstack.requestRegister(eContext, EAX); IntItem v = vstack.popInt(); v.loadTo(eContext, EAX); // helper.writePOP(T0); visit_return(); }
53,164
public final void visit_ishl() { vstack.requestRegister(eContext, ECX); IntItem shift = vstack.popInt(); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.getV...
public final void visit_ishl() { vstack.requestRegister(eContext, ECX); IntItem shift = vstack.popInt(); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.getV...
53,165
public final void visit_ishr() { vstack.requestRegister(eContext, ECX); IntItem shift = vstack.popInt(); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.getV...
public final void visit_ishr() { vstack.requestRegister(eContext, ECX); IntItem shift = vstack.popInt(); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.getV...
53,166
public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); } else { os.wr...
public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); } else { os.wr...
53,167
public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); } else { os.wr...
public final void visit_istore(int index) { int disp = stackFrame.getEbpOffset(index); IntItem i = vstack.popInt(); i.loadIf(eContext, ~Item.CONSTANT); if (i.getKind() == Item.CONSTANT) { //TODO: check whether constant is different from NULL (loaded with ldc) os.writeMOV_Const(FP, disp, 0); } else { os.wr...
53,168
public final void visit_isub() { //REFACTOR: parametrize the os.write operations to avoid code duplication IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); PrepareForOperation(v1, v2); switch(v2.getKind()) { case Item.REGISTER: os.writeSUB(v1.getRegister(), v2.getRegister()); break; case Item...
public final void visit_isub() { //REFACTOR: parametrize the os.write operations to avoid code duplication IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); PrepareForOperation(v1, v2); switch(v2.getKind()) { case Item.REGISTER: os.writeSUB(v1.getRegister(), v2.getRegister()); break; case Item...
53,169
public final void visit_iushr() { vstack.requestRegister(eContext, ECX); IntItem shift = vstack.popInt(); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.get...
public final void visit_iushr() { vstack.requestRegister(eContext, ECX); IntItem shift = vstack.popInt(); IntItem value = vstack.popInt(); shift.loadToIf(eContext, ~Item.CONSTANT, ECX); value.load(eContext); Register v = value.getRegister(); if (shift.getKind() == Item.CONSTANT) { int offset = shift.get...
53,170
public final void visit_ixor() { //REFACTOR: parametrize the os.write operations to avoid code duplication //IMPROVE: allow parameter permutation IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); PrepareForOperation(v1, v2); switch(v2.getKind()) { case Item.REGISTER: os.writeXOR(v1.getRegister(), ...
public final void visit_ixor() { //REFACTOR: parametrize the os.write operations to avoid code duplication //IMPROVE: allow parameter permutation IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); PrepareForOperation(v1, v2); switch(v2.getKind()) { case Item.REGISTER: os.writeXOR(v1.getRegister(), ...
53,171
public final void visit_jsr(int address) { os.writeCALL(helper.getInstrLabel(address)); }
public final void visit_jsr(int address) { os.writeCALL(helper.getInstrLabel(address)); }
53,172
public final void visit_l2d() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); vstack.pushItem(DoubleItem.createStack()); os.writeFILD64(SP, 0); os.writeFSTP64(SP, 0); }
public final void visit_l2d() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); vstack.pushItem(DoubleItem.createStack()); os.writeFILD64(SP, 0); os.writeFSTP64(SP, 0); }
53,173
public final void visit_l2f() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); vstack.pushItem(FloatItem.createStack()); os.writeFILD64(SP, 0); os.writeLEA(SP, SP, 4); os.writeFSTP32(SP, 0); }
public final void visit_l2f() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); vstack.pushItem(FloatItem.createStack()); os.writeFILD64(SP, 0); os.writeLEA(SP, SP, 4); os.writeFSTP32(SP, 0); }
53,174
public final void visit_l2i() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(T0, T1); helper.writePUSH(T0); }
public final void visit_l2i() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(T0, T1); helper.writePUSH(T0); }
53,175
public final void visit_ladd() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
public final void visit_ladd() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
53,176
public final void visit_laload() { //TODO: port to orp-style vstack.push(eContext); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.release(eContext); ref.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(T0); // Index helper.writePOP(S0); // Arrayref checkBounds...
public final void visit_laload() { //TODO: port to orp-style vstack.push(eContext); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.release(eContext); ref.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(T0); // Index helper.writePOP(S0); // Arrayref checkBounds...
53,177
public final void visit_land() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
public final void visit_land() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
53,178
public final void visit_lastore() { //TODO: port to orp-style vstack.push(eContext); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.release(eContext); ref.release(eContext); os.writeMOV(INTSIZE, T0, SP, 8); // Index os.writeMOV(INTSIZE, S0, SP, 12); // Arrayref checkBounds(S0, T0); os.wr...
public final void visit_lastore() { //TODO: port to orp-style vstack.push(eContext); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.release(eContext); ref.release(eContext); os.writeMOV(INTSIZE, T0, SP, 8); // Index os.writeMOV(INTSIZE, S0, SP, 12); // Arrayref checkBounds(S0, T0); os.wr...
53,179
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri...
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri...
53,180
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri...
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri...
53,181
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri...
public final void visit_lcmp() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(IntItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wri...
53,182
public final void visit_lconst(long v) { vstack.pushItem(LongItem.createConst(v));// final int lsb = (int) (v & 0xFFFFFFFFL);// final int msb = (int) ((v >>> 32) & 0xFFFFFFFFL);// //log.debug("lconst v=" + NumberUtils.hex(v,16) + ",lsb=" + NumberUtils.hex(lsb, 8) +// // ",msb=" + NumberUtils.hex(msb, 8));//// os...
public final void visit_lconst(long v) { vstack.pushItem(LongItem.createConst(v));// final int lsb = (int) (v & 0xFFFFFFFFL);// final int msb = (int) ((v >>> 32) & 0xFFFFFFFFL);// //log.debug("lconst v=" + NumberUtils.hex(v,16) + ",lsb=" + NumberUtils.hex(lsb, 8) +// // ",msb=" + NumberUtils.hex(msb, 8));//// os...
53,183
public final void visit_ldc(VmConstString value) { //REFACTOR: use object constant vstack.push(eContext); vstack.pushItem(RefItem.createStack()); helper.writeGetStaticsEntry(curInstrLabel, T0, value); helper.writePUSH(T0);// //REFACTOR: use Constant instead of Object!// if (value instanceof Integer) {// visit...
public final void visit_ldc(VmConstString value) { //REFACTOR: use object constant vstack.push(eContext); vstack.pushItem(RefItem.createStack()); helper.writeGetStaticsEntry(curInstrLabel, T0, value); helper.writePUSH(T0);// //REFACTOR: use Constant instead of Object!// if (value instanceof Integer) {// visit...
53,184
public final void visit_ldc(VmConstString value) { //REFACTOR: use object constant vstack.push(eContext); vstack.pushItem(RefItem.createStack()); helper.writeGetStaticsEntry(curInstrLabel, T0, value); helper.writePUSH(T0);// //REFACTOR: use Constant instead of Object!// if (value instanceof Integer) {// visit...
public final void visit_ldc(VmConstString value) { //REFACTOR: use object constant vstack.push(eContext); vstack.pushItem(RefItem.createStack()); helper.writeGetStaticsEntry(curInstrLabel, T0, value); helper.writePUSH(T0);// //REFACTOR: use Constant instead of Object!// if (value instanceof Integer) {// visit...
53,185
public final void visit_ldiv() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.invokeJavaMethod(context.getLdivMethod()); }
public final void visit_ldiv() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.invokeJavaMethod(context.getLdivMethod()); }
53,186
public final void visit_lload(int index) { vstack.pushItem(LongItem.createLocal(stackFrame.getEbpOffset(index)));// int ebpOfs = stackFrame.getWideEbpOffset(index);// os.writeMOV(INTSIZE, T0, FP, ebpOfs);// os.writeMOV(INTSIZE, T1, FP, ebpOfs + 4);// helper.writePUSH64(T0, T1); }
public final void visit_lload(int index) { vstack.pushItem(LongItem.createLocal(stackFrame.getEbpOffset(index)));// int ebpOfs = stackFrame.getWideEbpOffset(index);// os.writeMOV(INTSIZE, T0, FP, ebpOfs);// os.writeMOV(INTSIZE, T1, FP, ebpOfs + 4);// helper.writePUSH64(T0, T1); }
53,187
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr...
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr...
53,188
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr...
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr...
53,189
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr...
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(Register.EBX, Register.ECX); // Value 2 helper.wr...
53,190
public final void visit_lneg() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); vstack.pushItem(v); helper.writePOP64(T0, T1); os.writeNEG(T1); // msb := -msb os.writeNEG(T0); // lsb := -lsb os.writeSBB(T1, 0); // high += borrow helper.writePUSH64(T0, T1); /* * os.wr...
public final void visit_lneg() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); vstack.pushItem(v); helper.writePOP64(T0, T1); os.writeNEG(T1); // msb := -msb os.writeNEG(T0); // lsb := -lsb os.writeSBB(T1, 0); // high += borrow helper.writePUSH64(T0, T1); /* * os.wr...
53,191
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC...
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC...
53,192
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC...
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC...
53,193
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC...
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eContext); key.release(eC...
53,194
public final void visit_lor() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); // ...
public final void visit_lor() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); // ...
53,195
public final void visit_lrem() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.invokeJavaMethod(context.getLremMethod()); }
public final void visit_lrem() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.invokeJavaMethod(context.getLremMethod()); }
53,196
public final void visit_lreturn() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); helper.writePOP64(T0, T1); visit_return(); }
public final void visit_lreturn() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); helper.writePOP64(T0, T1); visit_return(); }
53,197
public final void visit_lshl() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(Register.ECX); // Value 2 helper.writePOP64(Registe...
public final void visit_lshl() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(Register.ECX); // Value 2 helper.writePOP64(Registe...
53,198
public final void visit_lshr() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(Register.ECX); // Value 2 helper.writePOP64(Registe...
public final void visit_lshr() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(Register.ECX); // Value 2 helper.writePOP64(Registe...
53,199
public final void visit_lstore(int index) { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); int ebpOfs = stackFrame.getWideEbpOffset(index); helper.writePOP64(T0, T1); os.writeMOV(INTSIZE, FP, ebpOfs, T0); os.writeMOV(INTSIZE, FP, ebpOfs + 4, T1); }
public final void visit_lstore(int index) { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.popItem(Item.LONG); v.release(eContext); int ebpOfs = stackFrame.getWideEbpOffset(index); helper.writePOP64(T0, T1); os.writeMOV(INTSIZE, FP, ebpOfs, T0); os.writeMOV(INTSIZE, FP, ebpOfs + 4, T1); }
53,200
public final void visit_lsub() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
public final void visit_lsub() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
53,201
public final void visit_lushr() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(Register.ECX); // Value 2 helper.writePOP64(Regist...
public final void visit_lushr() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP(Register.ECX); // Value 2 helper.writePOP64(Regist...
53,202
public final void visit_lxor() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
public final void visit_lxor() { //TODO: port to orp-style vstack.push(eContext); Item v2 = vstack.popItem(Item.LONG); Item v1 = vstack.popItem(Item.LONG); v2.release(eContext); v1.release(eContext); vstack.pushItem(LongItem.createStack()); helper.writePOP64(T0, T1); // Value 2 helper.writePOP64(S0, S1); //...
53,203
public final void visit_monitorenter() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release(eContext); // Objectref is already on the stack helper.invokeJavaMethod(context.getMonitorEnterMethod()); }
public final void visit_monitorenter() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release(eContext); // Objectref is already on the stack helper.invokeJavaMethod(context.getMonitorEnterMethod()); }
53,204
public final void visit_monitorexit() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release(eContext); // Objectref is already on the stack helper.invokeJavaMethod(context.getMonitorExitMethod()); }
public final void visit_monitorexit() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release(eContext); // Objectref is already on the stack helper.invokeJavaMethod(context.getMonitorExitMethod()); }
53,205
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { //TODO: port to orp-style vstack.push(eContext); System.out.println("multianewarray not implemented yet in " + helper.getMethod()); // Dummy to maintain the stack structure, but cause a NullPointerException for (int i = 0; i < dimensi...
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { //TODO: port to orp-style vstack.push(eContext); System.out.println("multianewarray not implemented yet in " + helper.getMethod()); // Dummy to maintain the stack structure, but cause a NullPointerException for (int i = 0; i < dimensi...
53,206
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { //TODO: port to orp-style vstack.push(eContext); System.out.println("multianewarray not implemented yet in " + helper.getMethod()); // Dummy to maintain the stack structure, but cause a NullPointerException for (int i = 0; i < dimensi...
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { //TODO: port to orp-style vstack.push(eContext); System.out.println("multianewarray not implemented yet in " + helper.getMethod()); // Dummy to maintain the stack structure, but cause a NullPointerException for (int i = 0; i < dimensi...
53,207
public final void visit_new(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); writeResolveAndLoadClassToEAX(classRef, S0); /* Setup a call to SoftByteCodes.allocObject */ helper.writePUSH(Register.EAX); /* vmClass */ helper.writePUSH(-1); /* Size */ helper.invokeJavaMethod(context.getA...
public final void visit_new(VmConstClass classRef) { //TODO: port to orp-style vstack.push(eContext); writeResolveAndLoadClassToEAX(classRef, S0); /* Setup a call to SoftByteCodes.allocObject */ helper.writePUSH(Register.EAX); /* vmClass */ helper.writePUSH(-1); /* Size */ helper.invokeJavaMethod(context.getA...
53,208
public final void visit_newarray(int type) { IntItem count = vstack.popInt(); count.loadIf(eContext, Item.STACK);// helper.writePOP(S0); /* Elements */ /* Setup a call to SoftByteCodes.allocArray */ helper.writePUSH(type); /* type */// helper.writePUSH(S0); /* elements */ count.push(eContext); helper.invokeJ...
public final void visit_newarray(int type) { IntItem count = vstack.popInt(); count.loadIf(eContext, Item.STACK);// helper.writePOP(S0); /* Elements */ /* Setup a call to SoftByteCodes.allocArray */ helper.writePUSH(type); /* type */// helper.writePUSH(S0); /* elements */ count.push(eContext); helper.invokeJ...
53,209
public final void visit_newarray(int type) { IntItem count = vstack.popInt(); count.loadIf(eContext, Item.STACK);// helper.writePOP(S0); /* Elements */ /* Setup a call to SoftByteCodes.allocArray */ helper.writePUSH(type); /* type */// helper.writePUSH(S0); /* elements */ count.push(eContext); helper.invokeJ...
public final void visit_newarray(int type) { IntItem count = vstack.popInt(); count.loadIf(eContext, Item.STACK);// helper.writePOP(S0); /* Elements */ /* Setup a call to SoftByteCodes.allocArray */ helper.writePUSH(type); /* type */// helper.writePUSH(S0); /* elements */ count.push(eContext); helper.invokeJ...
53,210
public final void visit_nop() { os.writeNOP(); }
public final void visit_nop() { os.writeNOP(); }
53,211
public final void visit_pop() { Item v = vstack.popItem(); assertCondition (v.getCategory() == 1); if (v.getKind() == Item.STACK) { os.writeLEA(SP, SP, 4); } else { v.release(eContext); } }
public final void visit_pop() { Item v = vstack.popItem(); assertCondition (v.getCategory() == 1); if (v.getKind() == Item.STACK) { os.writeLEA(SP, SP, 4); } else { v.release(eContext); } }
53,212
public final void visit_pop2() { Item v = vstack.popItem(); assertCondition (v.getCategory() == 2); if (v.getKind() == Item.STACK) { os.writeLEA(SP, SP, 8); } else { v.release(eContext); }// os.writeLEA(SP, SP, 8); }
public final void visit_pop2() { Item v = vstack.popItem(); assertCondition (v.getCategory() == 2); if (v.getKind() == Item.STACK) { os.writeLEA(SP, SP, 8); } else { v.release(eContext); }// os.writeLEA(SP, SP, 8); }
53,213
public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstance...
public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstance...
53,214
public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstance...
public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstance...
53,215
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ...
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ...
53,216
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ...
public final void visit_putstatic(VmConstFieldRef fieldRef) { //TODO: port to orp-style vstack.push(eContext); Item val = vstack.popItem(); val.release(eContext); fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); if (!sf.getDeclaringClass().isInitialized()) { ...
53,217
public final void visit_ret(int index) { final int ebpOfs = stackFrame.getEbpOffset(index); os.writeMOV(INTSIZE, T0, FP, ebpOfs); os.writeJMP(T0); }
public final void visit_ret(int index) { final int ebpOfs = stackFrame.getEbpOffset(index); os.writeMOV(INTSIZE, T0, FP, ebpOfs); os.writeJMP(T0); }
53,218
public final void visit_return() { stackFrame.emitReturn(); }
public final void visit_return() { stackFrame.emitReturn(); }
53,219
public final void visit_saload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.CONSTANT); ref.load(eContext); Register refReg = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(WORDSIZE...
public final void visit_saload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.CONSTANT); ref.load(eContext); Register refReg = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(WORDSIZE...
53,220
public final void visit_sastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); idx.loadIf(eContext, ~Item.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); final Register v = va...
public final void visit_sastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); idx.loadIf(eContext, ~Item.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); final Register v = va...
53,221
public final void visit_swap() { Item v1 = vstack.popItem(); Item v2 = vstack.popItem(); assertCondition((v1.getCategory() == 1)&&(v2.getCategory() == 1)); final boolean v1IsBool = (v1.getKind() == Item.STACK); final boolean v2IsBool = (v2.getKind() == Item.STACK); if (v1IsBool && v2IsBool) { // both on the st...
public final void visit_swap() { Item v1 = vstack.popItem(); Item v2 = vstack.popItem(); assertCondition((v1.getCategory() == 1)&&(v2.getCategory() == 1)); final boolean v1IsBool = (v1.getKind() == Item.STACK); final boolean v2IsBool = (v2.getKind() == Item.STACK); if (v1IsBool && v2IsBool) { // both on the st...
53,222
public final void visit_tableswitch(int defAddress, int lowValue, int highValue, int[] addresses) { //IMPROVE: check Jaos implementation IntItem v = vstack.popInt(); v.load(eContext); final Register r = v.getRegister(); vstack.push(eContext); final int n = addresses.length; //TODO: port optimized version of L...
public final void visit_tableswitch(int defAddress, int lowValue, int highValue, int[] addresses) { //IMPROVE: check Jaos implementation IntItem v = vstack.popInt(); v.load(eContext); final Register r = v.getRegister(); vstack.push(eContext); final int n = addresses.length; //TODO: port optimized version of L...
53,223
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
53,224
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
53,225
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
53,226
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
private final void writeInitializeClass(VmConstFieldRef fieldRef, Register scratch) { //TODO: port to orp-style // Get fieldRef via constantpool to avoid direct object references in // the native code if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } final VmType...
53,227
private final void writeResolveAndLoadClassToEAX(VmConstClass classRef, Register scratch) { //TODO: port to orp-style // Check assertConditionions if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } // Resolve the class classRef.resolve(loader); final VmType t...
private final void writeResolveAndLoadClassToEAX(VmConstClass classRef, Register scratch) { //TODO: port to orp-style // Check assertConditionions if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } // Resolve the class classRef.resolve(loader); final VmType t...
53,228
private final void writeResolveAndLoadClassToEAX(VmConstClass classRef, Register scratch) { //TODO: port to orp-style // Check assertConditionions if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } // Resolve the class classRef.resolve(loader); final VmType t...
private final void writeResolveAndLoadClassToEAX(VmConstClass classRef, Register scratch) { //TODO: port to orp-style // Check assertConditionions if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } // Resolve the class classRef.resolve(loader); final VmType t...
53,229
private final void writeResolveAndLoadClassToEAX(VmConstClass classRef, Register scratch) { //TODO: port to orp-style // Check assertConditionions if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } // Resolve the class classRef.resolve(loader); final VmType t...
private final void writeResolveAndLoadClassToEAX(VmConstClass classRef, Register scratch) { //TODO: port to orp-style // Check assertConditionions if (scratch == EAX) { throw new IllegalArgumentException( "scratch cannot be equal to EAX"); } // Resolve the class classRef.resolve(loader); final VmType t...
53,230
public final void yieldPoint() { helper.writeYieldPoint(curInstrLabel); }
public final void yieldPoint() { helper.writeYieldPoint(curInstrLabel); }
53,231
private void calcMinMaxWidthBlockChildren(LayoutContext c) { int childMinWidth = 0; int childMaxWidth = 0; for (Iterator i = getChildIterator(); i.hasNext(); ) { BlockBox child = (BlockBox)i.next(); if (! (child instanceof AnonymousBlockBox || ...
private void calcMinMaxWidthBlockChildren(LayoutContext c) { int childMinWidth = 0; int childMaxWidth = 0; for (Iterator i = getChildIterator(); i.hasNext(); ) { BlockBox child = (BlockBox)i.next(); if (! (child instanceof AnonymousBlockBox || ...
53,233
private void calcMinMaxWidthInlineChildren(LayoutContext c) { int textIndent = (int)getStyle().getFloatPropertyProportionalWidth( CSSName.TEXT_INDENT, getContentWidth(), c); int childMinWidth = 0; int childMaxWidth = 0; int lineWidth = 0; Inl...
private void calcMinMaxWidthInlineChildren(LayoutContext c) { int textIndent = (int)getStyle().getFloatPropertyProportionalWidth( CSSName.TEXT_INDENT, getContentWidth(), c); int childMinWidth = 0; int childMaxWidth = 0; int lineWidth = 0; Inl...
53,234