bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public final void visit_dup_x1() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); vstack.push(v1.clone(eContext)); vstack.push(v2); vsta...
public final void visit_dup_x1() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); vstack.push(v1.clone(eContext)); vstack.push(v2); vsta...
26,098
public final void visit_dup_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (v2.getCategory() == 2) { // form2 vstack.p...
public final void visit_dup_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (v2.getCategory() == 2) { // form2 vstack.p...
26,099
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
26,100
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
26,101
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
26,102
public final void visit_f2d() { FPUHelper.convert(eContext, vstack, JvmType.FLOAT, JvmType.DOUBLE); }
public final void visit_f2d() { FPUHelper.convert(eContext, vstack, JvmType.FLOAT, JvmType.DOUBLE); }
26,103
public final void visit_f2i() { FPUHelper.convert(eContext, vstack, JvmType.FLOAT, JvmType.INT); }
public final void visit_f2i() { FPUHelper.convert(eContext, vstack, JvmType.FLOAT, JvmType.INT); }
26,104
public final void visit_f2l() { FPUHelper.convert(eContext, vstack, JvmType.FLOAT, JvmType.LONG); }
public final void visit_f2l() { FPUHelper.convert(eContext, vstack, JvmType.FLOAT, JvmType.LONG); }
26,105
public final void visit_fadd() { FPUHelper.add(os, eContext, vstack, JvmType.FLOAT); }
public final void visit_fadd() { FPUHelper.add(os, eContext, vstack, JvmType.FLOAT); }
26,106
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
26,107
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register refr = ref.getRegister(); idx.l...
26,108
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
26,109
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
26,110
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
26,111
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
26,112
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
26,113
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
26,114
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
public final void visit_fastore() { final FloatItem val = vstack.popFloat(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.loadToGPR(eContext); idx.load(eContext); ref.load(eContext); final Register valr = val.getRegister(); fin...
26,115
public final void visit_fcmpg() { FPUHelper.compare(os, eContext, vstack, true, JvmType.FLOAT, curInstrLabel); }
public final void visit_fcmpg() { FPUHelper.compare(os, eContext, vstack, true, JvmType.FLOAT, curInstrLabel); }
26,116
public final void visit_fcmpl() { FPUHelper.compare(os, eContext, vstack, false, JvmType.FLOAT, curInstrLabel); }
public final void visit_fcmpl() { FPUHelper.compare(os, eContext, vstack, false, JvmType.FLOAT, curInstrLabel); }
26,117
public final void visit_fconst(float value) { vstack.push(FloatItem.createConst(value)); }
public final void visit_fconst(float value) { vstack.push(FloatItem.createConst(value)); }
26,118
public final void visit_fdiv() { FPUHelper.div(os, eContext, vstack, JvmType.FLOAT); }
public final void visit_fdiv() { FPUHelper.div(os, eContext, vstack, JvmType.FLOAT); }
26,119
public final void visit_fload(int index) { vstack.push(FloatItem.createLocal(stackFrame.getEbpOffset(index))); }
public final void visit_fload(int index) { vstack.push(FloatItem.createLocal(stackFrame.getEbpOffset(index))); }
26,120
public final void visit_fmul() { FPUHelper.mul(os, eContext, vstack, JvmType.FLOAT); }
public final void visit_fmul() { FPUHelper.mul(os, eContext, vstack, JvmType.FLOAT); }
26,121
public final void visit_fneg() { FPUHelper.neg(os, eContext, vstack, JvmType.FLOAT); }
public final void visit_fneg() { FPUHelper.neg(os, eContext, vstack, JvmType.FLOAT); }
26,122
public final void visit_frem() { FPUHelper.rem(os, eContext, vstack, JvmType.FLOAT); }
public final void visit_frem() { FPUHelper.rem(os, eContext, vstack, JvmType.FLOAT); }
26,123
public final void visit_freturn() { final FloatItem val = vstack.popFloat(); if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } val.release(eContext); visit_return(); }
public final void visit_freturn() { final FloatItem val = vstack.popFloat(); if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } val.release(eContext); visit_return(); }
26,124
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
26,125
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
26,126
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
26,127
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
26,128
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
public final void visit_fstore(int index) { final FloatItem val = vstack.popFloat(); final int ebpOfs = stackFrame.getEbpOffset(index); // pin down other references to this local vstack.loadLocal(eContext, ebpOfs); // Load val.loadToGPR(eContext); final Register valr...
26,129
public final void visit_fsub() { FPUHelper.sub(os, eContext, vstack, JvmType.FLOAT); }
public final void visit_fsub() { FPUHelper.sub(os, eContext, vstack, JvmType.FLOAT); }
26,130
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
26,131
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
26,132
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
26,133
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
public final void visit_getfield(VmConstFieldRef fieldRef) { //TODO: port to orp-style; must probably implement a getfield method // in each Item! fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChan...
26,134
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
26,135
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
26,136
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
26,137
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
public final void visit_getstatic(VmConstFieldRef fieldRef) { final X86RegisterPool pool = eContext.getPool(); fieldRef.resolve(loader); final int type = JvmType.SignatureToType(fieldRef.getSignature()); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // In...
26,138
public final void visit_goto(int address) { vstack.push(eContext); os.writeJMP(helper.getInstrLabel(address)); }
public final void visit_goto(int address) { vstack.push(eContext); os.writeJMP(helper.getInstrLabel(address)); }
26,139
public final void visit_i2b() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(IntItem.createConst((byte) v.getValue())); } else { v.load(eContext); final Register r = v.getRegister(); os.writeMOVSX(r, r, BYTES...
public final void visit_i2b() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(IntItem.createConst((byte) v.getValue())); } else { v.load(eContext); final Register r = v.getRegister(); os.writeMOVSX(r, r, BYTES...
26,140
public final void visit_i2c() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(IntItem.createConst((char) v.getValue())); } else { v.load(eContext); final Register r = v.getRegister(); os.writeMOVZX(r, r, BYTES...
public final void visit_i2c() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(IntItem.createConst((char) v.getValue())); } else { v.load(eContext); final Register r = v.getRegister(); os.writeMOVZX(r, r, BYTES...
26,141
public final void visit_i2d() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(DoubleItem.createStack()); os.writeFILD32(SP, 0); os.writeLEA(SP, SP, -4); os.writeFSTP64(SP, 0); }
public final void visit_i2d() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(DoubleItem.createStack()); os.writeFILD32(SP, 0); os.writeLEA(SP, SP, -4); os.writeFSTP64(SP, 0); }
26,142
public final void visit_i2f() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(FloatItem.createStack()); os.writeFILD32(SP, 0); os.writeFSTP32(SP, 0); }
public final void visit_i2f() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(FloatItem.createStack()); os.writeFILD32(SP, 0); os.writeFSTP32(SP, 0); }
26,143
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
26,144
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
26,145
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
26,146
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
26,147
public final void visit_i2s() { IntItem v = vstack.popInt(); v.load(eContext); final Register r = v.getRegister(); os.writeMOVSX(r, r, WORDSIZE); vstack.push(v); }
public final void visit_i2s() { IntItem v = vstack.popInt(); v.load(eContext); final Register r = v.getRegister(); os.writeMOVSX(r, r, WORDSIZE); vstack.push(v); }
26,148
public final void visit_iadd() { //REFACTOR: parametrize the os.write operations to avoid code // duplication //IMPROVE: allow parameter permutation final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); prepareForOperation(v1, v2); final Register r1...
public final void visit_iadd() { //REFACTOR: parametrize the os.write operations to avoid code // duplication //IMPROVE: allow parameter permutation final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); prepareForOperation(v1, v2); final Register r1...
26,149
public final void visit_iadd() { //REFACTOR: parametrize the os.write operations to avoid code // duplication //IMPROVE: allow parameter permutation final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); prepareForOperation(v1, v2); final Register r1...
public final void visit_iadd() { //REFACTOR: parametrize the os.write operations to avoid code // duplication //IMPROVE: allow parameter permutation final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); prepareForOperation(v1, v2); final Register r1...
26,150
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
26,151
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
26,152
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
26,153
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
26,154
public final void visit_iand() { //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); final Register r1 = v1.getReg...
public final void visit_iand() { //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); final Register r1 = v1.getReg...
26,155
public final void visit_iand() { //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); final Register r1 = v1.getReg...
public final void visit_iand() { //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); final Register r1 = v1.getReg...
26,156
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
26,157
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
26,158
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
26,159
public final void visit_iconst(int value) { vstack.push(IntItem.createConst(value)); }
public final void visit_iconst(int value) { vstack.push(IntItem.createConst(value)); }
26,160
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,161
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,162
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,163
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,164
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,165
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,166
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,167
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,168
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX ...
26,169
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,170
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,171
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,172
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,173
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_acmp(int address, int jccOpcode) { RefItem v2 = vstack.popRef(); RefItem v1 = vstack.popRef(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,174
public final void visit_if_acmpeq(int address) { visit_if_acmp(address, X86Constants.JE); // JE }
public final void visit_if_acmpeq(int address) { visit_if_acmp(address, X86Constants.JE); // JE }
26,175
public final void visit_if_acmpne(int address) { visit_if_acmp(address, X86Constants.JNE); // JNE }
public final void visit_if_acmpne(int address) { visit_if_acmp(address, X86Constants.JNE); // JNE }
26,176
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,177
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,178
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,179
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,180
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
private final void visit_if_icmp(int address, int jccOpcode) { IntItem v2 = vstack.popInt(); IntItem v1 = vstack.popInt(); // flush vstack before jumping vstack.push(eContext); //TODO: can be less restrictive: v1 must not be register prepareForOperation(v1, v2); Regi...
26,181
public final void visit_if_icmpeq(int address) { visit_if_icmp(address, X86Constants.JE); // JE }
public final void visit_if_icmpeq(int address) { visit_if_icmp(address, X86Constants.JE); // JE }
26,182
public final void visit_if_icmpge(int address) { visit_if_icmp(address, X86Constants.JGE); // JGE }
public final void visit_if_icmpge(int address) { visit_if_icmp(address, X86Constants.JGE); // JGE }
26,183
public final void visit_if_icmpgt(int address) { visit_if_icmp(address, X86Constants.JG); // JG }
public final void visit_if_icmpgt(int address) { visit_if_icmp(address, X86Constants.JG); // JG }
26,184
public final void visit_if_icmple(int address) { visit_if_icmp(address, X86Constants.JLE); // JLE }
public final void visit_if_icmple(int address) { visit_if_icmp(address, X86Constants.JLE); // JLE }
26,185
public final void visit_if_icmplt(int address) { visit_if_icmp(address, X86Constants.JL); // JL }
public final void visit_if_icmplt(int address) { visit_if_icmp(address, X86Constants.JL); // JL }
26,186
public final void visit_if_icmpne(int address) { visit_if_icmp(address, X86Constants.JNE); // JNE }
public final void visit_if_icmpne(int address) { visit_if_icmp(address, X86Constants.JNE); // JNE }
26,187
public final void visit_ifeq(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JE); // JE }
public final void visit_ifeq(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JE); // JE }
26,188
public final void visit_ifge(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JGE); // JGE }
public final void visit_ifge(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JGE); // JGE }
26,189
public final void visit_ifgt(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JG); // JG }
public final void visit_ifgt(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JG); // JG }
26,190
public final void visit_ifle(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JLE); // JLE }
public final void visit_ifle(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JLE); // JLE }
26,191
public final void visit_iflt(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JL); // JL }
public final void visit_iflt(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JL); // JL }
26,192
public final void visit_ifne(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JNE); // JNE }
public final void visit_ifne(int address) { visit_ifxx(JvmType.INT, address, X86Constants.JNE); // JNE }
26,193
public final void visit_ifnonnull(int address) { visit_ifxx(JvmType.REFERENCE, address, X86Constants.JNE); }
public final void visit_ifnonnull(int address) { visit_ifxx(JvmType.REFERENCE, address, X86Constants.JNE); }
26,194
public final void visit_ifnull(int address) { visit_ifxx(JvmType.REFERENCE, address, X86Constants.JE); }
public final void visit_ifnull(int address) { visit_ifxx(JvmType.REFERENCE, address, X86Constants.JE); }
26,195
private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Constant case / Local case Item v; Register r; if (type == JvmType.REFERENCE) { RefItem vr = vstack.popRef(); vr.load(eContext); r = vr.getRegister(); v = vr; } e...
private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Constant case / Local case Item v; Register r; if (type == JvmType.REFERENCE) { RefItem vr = vstack.popRef(); vr.load(eContext); r = vr.getRegister(); v = vr; } e...
26,196
private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Constant case / Local case Item v; Register r; if (type == JvmType.REFERENCE) { RefItem vr = vstack.popRef(); vr.load(eContext); r = vr.getRegister(); v = vr; } e...
private void visit_ifxx(int type, int address, int jccOpcode) { //IMPROVE: Constant case / Local case Item v; Register r; if (type == JvmType.REFERENCE) { RefItem vr = vstack.popRef(); vr.load(eContext); r = vr.getRegister(); v = vr; } e...
26,197