rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
boolean isBootstrap, X86CompilerContext context) { this.os = (AbstractX86Stream) outputStream; this.context = context; this.vstack = new VirtualStack(os); this.helper = new X86CompilerHelper(os, vstack.createStackMgr(), context, isBootstrap); this.cm = cm; this.slotSize = VmX86Architecture.SLOT_SIZE; this.log = os.isLo...
boolean isBootstrap, X86CompilerContext context) { this.os = (AbstractX86Stream) outputStream; this.context = context; this.vstack = new VirtualStack(os); final X86RegisterPool pool = new X86RegisterPool(); this.helper = new X86CompilerHelper(os, vstack.createStackMgr(pool), context, isBootstrap); this.cm = cm; this.sl...
public X86BytecodeVisitor(NativeStream outputStream, CompiledMethod cm, boolean isBootstrap, X86CompilerContext context) { this.os = (AbstractX86Stream) outputStream; this.context = context; this.vstack = new VirtualStack(os); this.helper = new X86CompilerHelper(os, vstack.cre...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (!cond) throw new Error("assert failed at addresss " + curAddress + ": " + message); }
if (!cond) throw new Error("assert failed at addresss " + curAddress + ": " + message); }
private final void assertCondition(boolean cond, String message) { if (!cond) throw new Error("assert failed at addresss " + curAddress + ": " + message); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Label ok = new Label(curInstrLabel + "$$cbok"); assertCondition(ref.isRegister(), "ref must be in a register"); final Register r = ref.getRegister(); if (index.isConstant()) { index.load(eContext); os.writeCMP(r, VmArray.LENGTH_OFFSET * slotSize, index .getRegister()); } else { os.writeCMP(r, VmArray.LENGTH_OF...
final Label ok = new Label(curInstrLabel + "$$cbok"); assertCondition(ref.isRegister(), "ref must be in a register"); final Register r = ref.getRegister(); if (index.isConstant()) { os.writeCMP_Const(r, arrayLengthOffset, index.getValue()); } else { os.writeCMP(r, arrayLengthOffset, index.getRegister()); } os.writeJC...
private final void checkBounds(RefItem ref, IntItem index) { final Label ok = new Label(curInstrLabel + "$$cbok"); // CMP length, index assertCondition(ref.isRegister(), "ref must be in a register"); final Register r = ref.getRegister(); if (index.isConstant()) { //TODO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final int count = method.getNoArguments() + ((hasSelf) ? 1 : 0); for (int i = 0; (!vstack.isEmpty() && (i < count)); i++) { Item v = vstack.pop(); v.release1(eContext); } }
final int count = method.getNoArguments() + ((hasSelf) ? 1 : 0); for (int i = 0; (!vstack.isEmpty() && (i < count)); i++) { Item v = vstack.pop(); v.release1(eContext); } }
private final void dropParameters(VmMethod method, boolean hasSelf) { //TODO: check parameter types final int count = method.getNoArguments() + ((hasSelf) ? 1 : 0); for (int i = 0; (!vstack.isEmpty() && (i < count)); i++) { Item v = vstack.pop(); v.release1(eContext); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.push(eContext); }
vstack.push(eContext); }
public void endBasicBlock() { // flush vstack: at end/begin of basic block are all items on the stack vstack.push(eContext); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
helper.setMethod(previousMethod); os.setObjectRef(endOfInlineLabel); this.currentMethod = previousMethod; this.outerMethodStack = null; if (debug) { BootLog.debug("endInlinedMethod"); } }
helper.setMethod(previousMethod); os.setObjectRef(inlinedMethod.getEndOfInlineLabel()); this.currentMethod = previousMethod; inlinedMethod.pushExitStack(vstack); this.inlinedMethod = null; if (debug) { BootLog.debug("endInlinedMethod"); } }
public void endInlinedMethod(VmMethod previousMethod) { helper.setMethod(previousMethod); os.setObjectRef(endOfInlineLabel); this.currentMethod = previousMethod; this.outerMethodStack = null; if (debug) { BootLog.debug("endInlinedMethod"); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final X86RegisterPool pool = eContext.getPool(); pool.visitUsedRegisters(new RegisterVisitor() {
final X86RegisterPool pool = eContext.getPool(); pool.visitUsedRegisters(new RegisterVisitor() {
public void endInstruction() { // Verify the register usage // No registers can be in use, unless they are on the virtual stack. final X86RegisterPool pool = eContext.getPool(); pool.visitUsedRegisters(new RegisterVisitor() { public void visit(Register reg) { if...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
public void visit(Register reg) { if (!vstack.uses(reg)) { throw new InternalError( "Register " + reg + " is in use outsite of the vstack at bytecode address " + curAddress); } } }); }
public void visit(Register reg) { if (!vstack.uses(reg)) { throw new InternalError("Register " + reg + " is in use outsite of the vstack in method " + currentMethod + " at bytecode address " + curAddress); } } }); vstack.fpuStack.visitItems(new ItemVisitor() { public void visit(Item item) { if (!vstack.contains(item))...
public void endInstruction() { // Verify the register usage // No registers can be in use, unless they are on the virtual stack. final X86RegisterPool pool = eContext.getPool(); pool.visitUsedRegisters(new RegisterVisitor() { public void visit(Register reg) { if...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (!vstack.uses(reg)) { throw new InternalError( "Register " + reg + " is in use outsite of the vstack at bytecode address " + curAddress); } }
if (!vstack.uses(reg)) { throw new InternalError("Register " + reg + " is in use outsite of the vstack in method " + currentMethod + " at bytecode address " + curAddress); } }
public void visit(Register reg) { if (!vstack.uses(reg)) { throw new InternalError( "Register " + reg + " is in use outsite of the vstack at bytecode address " + curAddress); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
stackFrame.emitTrailer(maxLocals); }
stackFrame.emitTrailer(maxLocals); }
public void endMethod() { stackFrame.emitTrailer(maxLocals); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
setCurInstrLabel = true; }
setCurInstrLabel = true; }
public void endTryBlock() { setCurInstrLabel = true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Item v = vstack.pop(); assertCondition(v.getCategory() == (size >> 2), "category mismatch"); if (v.getKind() == Item.Kind.STACK) { if (VirtualStack.checkOperandStack) { vstack.operandStack.pop(v); } os.writeLEA(SP, SP, size); } v.release(eContext); }
final Item v = vstack.pop(); assertCondition(v.getCategory() == (size >> 2), "category mismatch"); if (v.getKind() == Item.Kind.STACK) { if (VirtualStack.checkOperandStack) { vstack.operandStack.pop(v); } os.writeLEA(SP, SP, size); } v.release(eContext); }
private final void generic_pop(int size) { final Item v = vstack.pop(); assertCondition(v.getCategory() == (size >> 2), "category mismatch"); if (v.getKind() == Item.Kind.STACK) { // sanity check if (VirtualStack.checkOperandStack) { vstack.operandStack.pop(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Label loopLabel = new Label(this.curInstrLabel + "loop"); final Label notInstanceOfLabel = new Label(this.curInstrLabel + "notInstanceOf");
final Label loopLabel = new Label(this.curInstrLabel + "loop"); final Label notInstanceOfLabel = new Label(this.curInstrLabel + "notInstanceOf");
private final void instanceOf(Register objectr, Label trueLabel) { //TODO: port to orp-style final Label loopLabel = new Label(this.curInstrLabel + "loop"); final Label notInstanceOfLabel = new Label(this.curInstrLabel + "notInstanceOf"); /* Is objectref null? */ os...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
/* Is objectref null? */ os.writeTEST(objectr, objectr); os.writeJCC(notInstanceOfLabel, X86Constants.JZ); /* vmType -> edx */ os.writeMOV(INTSIZE, EDX, EAX); /* TIB -> ESI */ os.writeMOV(INTSIZE, Register.ESI, objectr, ObjectLayout.TIB_SLOT * slotSize); /* SuperClassesArray -> ESI */ os .writeMOV(INTSIZE, Register.ESI...
/* Is objectref null? */ os.writeTEST(objectr, objectr); os.writeJCC(notInstanceOfLabel, X86Constants.JZ); /* vmType -> edx */ os.writeMOV(INTSIZE, EDX, EAX); /* TIB -> ESI */ os.writeMOV(INTSIZE, Register.ESI, objectr, tibOffset); /* SuperClassesArray -> ESI */ os.writeMOV(INTSIZE, Register.ESI, Register.ESI, arrayDat...
private final void instanceOf(Register objectr, Label trueLabel) { //TODO: port to orp-style final Label loopLabel = new Label(this.curInstrLabel + "loop"); final Label notInstanceOfLabel = new Label(this.curInstrLabel + "notInstanceOf"); /* Is objectref null? */ os...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
os.setObjectRef(loopLabel); /* superClassesArray[index++] -> eax */ os.writeLODSD(); /* Is equal? */ os.writeCMP(EAX, EDX); os.writeJCC(trueLabel, X86Constants.JE); try { os.writeLOOP(loopLabel); } catch (UnresolvedObjectRefException ex) { throw new CompileError(ex); } os.setObjectRef(notInstanceOfLabel); }
os.setObjectRef(loopLabel); /* superClassesArray[index++] -> eax */ os.writeLODSD(); /* Is equal? */ os.writeCMP(EAX, EDX); os.writeJCC(trueLabel, X86Constants.JE); try { os.writeLOOP(loopLabel); } catch (UnresolvedObjectRefException ex) { throw new CompileError(ex); } os.setObjectRef(notInstanceOfLabel); }
private final void instanceOf(Register objectr, Label trueLabel) { //TODO: port to orp-style final Label loopLabel = new Label(this.curInstrLabel + "loop"); final Label notInstanceOfLabel = new Label(this.curInstrLabel + "notInstanceOf"); /* Is objectref null? */ os...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
source.loadIf(eContext, (Item.Kind.STACK | Item.Kind.FPUSTACK)); destAndSource.load(eContext); }
source.loadIf(eContext, (Item.Kind.STACK | Item.Kind.FPUSTACK)); destAndSource.load(eContext); }
private final void prepareForOperation(Item destAndSource, Item source) { // WARNING: source was on top of the virtual stack (thus higher than // destAndSource) // x86 can only deal with one complex argument // destAndSource must be a register source.loadIf(eContext, (Item.Kind.ST...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final X86RegisterPool pool = eContext.getPool(); pool.release(reg); }
final X86RegisterPool pool = eContext.getPool(); pool.release(reg); }
private final void releaseRegister(Register reg) { final X86RegisterPool pool = eContext.getPool(); pool.release(reg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final X86RegisterPool pool = eContext.getPool(); final Register lsb = requestRegister(JvmType.INT); final Register msb = requestRegister(JvmType.INT); final DoubleWordItem result = DoubleWordItem.createReg(jvmType, lsb, msb); pool.transferOwnerTo(lsb, result); pool.transferOwnerTo(msb, result); return result; }
final X86RegisterPool pool = eContext.getPool(); final Register lsb = requestRegister(JvmType.INT); final Register msb = requestRegister(JvmType.INT); final DoubleWordItem result = DoubleWordItem.createReg(jvmType, lsb, msb); pool.transferOwnerTo(lsb, result); pool.transferOwnerTo(msb, result); return result; }
private final DoubleWordItem requestDoubleWordRegisters(int jvmType) { final X86RegisterPool pool = eContext.getPool(); final Register lsb = requestRegister(JvmType.INT); final Register msb = requestRegister(JvmType.INT); final DoubleWordItem result = DoubleWordItem.createReg(jvmType, ls...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final X86RegisterPool pool = eContext.getPool(); Register r = pool.request(type); if (r == null) { vstack.push(eContext); r = pool.request(type); } assertCondition(r != null, "failed to request register"); return r; }
final X86RegisterPool pool = eContext.getPool(); Register r = pool.request(type); if (r == null) { vstack.push(eContext); r = pool.request(type); } assertCondition(r != null, "failed to request register"); return r; }
private final Register requestRegister(int type) { final X86RegisterPool pool = eContext.getPool(); Register r = pool.request(type); if (r == null) { vstack.push(eContext); r = pool.request(type); } assertCondition(r != null, "failed to request register"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final X86RegisterPool pool = eContext.getPool(); final Register reg = requestRegister(JvmType.INT); final WordItem result = WordItem.createReg(jvmType, reg); pool.transferOwnerTo(reg, result); return result; }
final X86RegisterPool pool = eContext.getPool(); final Register reg = requestRegister(JvmType.INT); final WordItem result = WordItem.createReg(jvmType, reg); pool.transferOwnerTo(reg, result); return result; }
private final WordItem requestWordRegister(int jvmType) { final X86RegisterPool pool = eContext.getPool(); final Register reg = requestRegister(JvmType.INT); final WordItem result = WordItem.createReg(jvmType, reg); pool.transferOwnerTo(reg, result); return result; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
}
}
public void setParser(BytecodeParser parser) { // Nothing to do here }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (log) { os.log("Start of basic block " + bb); } if (debug) { BootLog.debug("-- Start of BB"); } startOfBB = true; this.vstack.reset(); eContext.getPool().reset(os); vstack.pushAll(outerMethodStack); final TypeStack tstack = bb.getStartStack(); vstack.pushAll(tstack); }
if (log) { os.log("Start of basic block " + bb); } if (debug) { BootLog.debug("-- Start of BB " + bb); } startOfBB = true; this.vstack.reset(); eContext.getPool().reset(os); if (inlinedMethod != null) { inlinedMethod.pushOuterMethodStack(vstack); } final TypeStack tstack = bb.getStartStack(); vstack.pushAll(tstack); ...
public void startBasicBlock(BasicBlock bb) { if (log) { os.log("Start of basic block " + bb); } if (debug) { BootLog.debug("-- Start of BB"); } startOfBB = true; this.vstack.reset(); eContext.getPool().reset(os); // Push the result from t...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (debug) { BootLog.debug("startInlinedMethodCode(" + inlinedMethod + ")"); } vstack.push(eContext); outerMethodStack = vstack.asTypeStack(); }
if (debug) { BootLog.debug("startInlinedMethodCode(" + inlinedMethod + ")"); } vstack.push(eContext); this.inlinedMethod.setOuterMethodStack(vstack.asTypeStack()); }
public void startInlinedMethodCode(VmMethod inlinedMethod, int newMaxLocals) { if (debug) { BootLog.debug("startInlinedMethodCode(" + inlinedMethod + ")"); } //TODO: check whether this is really needed // For now yes, because a new basic block resets the registerpool //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
int newMaxLocals) { if (debug) { BootLog.debug("startInlinedMethodHeader(" + inlinedMethod + ")"); } maxLocals = newMaxLocals; endOfInlineLabel = new Label(curInstrLabel + "_end_of_inline"); helper.startInlinedMethod(inlinedMethod, curInstrLabel); this.currentMethod = inlinedMethod; }
int newMaxLocals) { if (debug) { BootLog.debug("startInlinedMethodHeader(" + inlinedMethod + ")"); } maxLocals = newMaxLocals; this.inlinedMethod = new InlinedMethodInfo(inlinedMethod, new Label( curInstrLabel + "_end_of_inline")); helper.startInlinedMethod(inlinedMethod, curInstrLabel); this.currentMethod = inlinedMet...
public void startInlinedMethodHeader(VmMethod inlinedMethod, int newMaxLocals) { if (debug) { BootLog.debug("startInlinedMethodHeader(" + inlinedMethod + ")"); } maxLocals = newMaxLocals; endOfInlineLabel = new Label(curInstrLabel + "_end_of_inline"); helper....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (debug) { BootLog.debug("#" + address + "\t" + vstack); } this.curAddress = address; this.curInstrLabel = helper.getInstrLabel(address); if (startOfBB || setCurInstrLabel) { os.setObjectRef(curInstrLabel); startOfBB = false; setCurInstrLabel = false; } final int offset = os.getLength() - startOffset; cm.add(currentM...
if (debug) { BootLog.debug("#" + address + "\t" + vstack); } this.curAddress = address; this.curInstrLabel = helper.getInstrLabel(address); if (startOfBB || setCurInstrLabel) { os.setObjectRef(curInstrLabel); startOfBB = false; setCurInstrLabel = false; } final int offset = os.getLength() - startOffset; cm.add(currentM...
public void startInstruction(int address) { if (debug) { BootLog.debug("#" + address + "\t" + vstack); } this.curAddress = address; this.curInstrLabel = helper.getInstrLabel(address); if (startOfBB || setCurInstrLabel) { os.setObjectRef(curInstrLabel); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (debug) { BootLog.debug("setMethod(" + method + ")"); } this.currentMethod = method; this.maxLocals = method.getBytecode().getNoLocals(); this.loader = method.getDeclaringClass().getLoader(); helper.setMethod(method); this.stackFrame = new X86StackFrame(os, helper, method, context, cm); this.startOffset = stackFram...
if (debug) { BootLog.debug("setMethod(" + method + ")"); } this.currentMethod = method; this.maxLocals = method.getBytecode().getNoLocals(); this.loader = method.getDeclaringClass().getLoader(); helper.setMethod(method); this.stackFrame = new X86StackFrame(os, helper, method, context, cm); this.startOffset = stackFram...
public void startMethod(VmMethod method) { if (debug) { BootLog.debug("setMethod(" + method + ")"); } this.currentMethod = method; this.maxLocals = method.getBytecode().getNoLocals(); this.loader = method.getDeclaringClass().getLoader(); helper.setMethod(method);...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
setCurInstrLabel = true; }
setCurInstrLabel = true; }
public void startTryBlock() { setCurInstrLabel = true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); Register refReg = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(INTSIZE, refReg, refReg, offset + VmArray.DAT...
IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); Register refReg = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(INTSIZE, refReg, refReg, offset + VmArray.DAT...
public final void visit_aaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); Register refReg = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final boolean useBarrier = (context.getWriteBarrier() != null);
final boolean useBarrier = (context.getWriteBarrier() != null);
public final void visit_aastore() { final boolean useBarrier = (context.getWriteBarrier() != null); RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); // if barrie...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
final RefItem val = vstack.popRef(); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef();
public final void visit_aastore() { final boolean useBarrier = (context.getWriteBarrier() != null); RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); // if barrie...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
val.load(eContext); idx.loadIf(eContext, (useBarrier) ? ~Item.Kind.REGISTER : ~(Item.Kind.CONSTANT | Item.Kind.REGISTER)); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int i = idx.getValue(); os....
val.load(eContext); idx.loadIf(eContext, (useBarrier) ? ~Item.Kind.REGISTER : ~(Item.Kind.CONSTANT | Item.Kind.REGISTER)); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister(); checkBounds(ref, idx); if (idx.isConstant()) { final int i = idx.getValue(); os.writeMOV(INTSIZE, r...
public final void visit_aastore() { final boolean useBarrier = (context.getWriteBarrier() != null); RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); // if barrie...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
val.release(eContext); idx.release(eContext); ref.release(eContext); }
val.release(eContext); idx.release(eContext); ref.release(eContext); }
public final void visit_aastore() { final boolean useBarrier = (context.getWriteBarrier() != null); RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); // if barrie...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.push(RefItem.createConst(null)); }
vstack.push(RefItem.createConst(null)); }
public final void visit_aconst_null() { vstack.push(RefItem.createConst(null)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.push(RefItem.createLocal(stackFrame.getEbpOffset(index))); }
vstack.push(RefItem.createLocal(stackFrame.getEbpOffset(index))); }
public final void visit_aload(int index) { vstack.push(RefItem.createLocal(stackFrame.getEbpOffset(index))); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final IntItem cnt = vstack.popInt();
requestRegister(EAX);
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
cnt.load(eContext); final Register cntr = cnt.getRegister(); final Register classr = requestRegister(JvmType.INT);
final IntItem cnt = vstack.popInt();
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
writeResolveAndLoadClassToReg(classRef, classr);
cnt.load(eContext); final Register cntr = cnt.getRegister(); final Register classr = requestRegister(JvmType.INT);
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
stackFrame.writePushMethodRef(); os.writePUSH(classr); /* Class */ os.writePUSH(cntr); /* Count */ helper.invokeJavaMethod(context.getAnewarrayMethod()); /* Result is already push on the stack */
writeResolveAndLoadClassToReg(classRef, classr);
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
cnt.release(eContext); releaseRegister(classr); }
releaseRegister(EAX); stackFrame.writePushMethodRef(); os.writePUSH(classr); /* Class */ os.writePUSH(cntr); /* Count */ helper.invokeJavaMethod(context.getAnewarrayMethod()); /* Result is already push on the stack */ cnt.release(eContext); releaseRegister(classr); }
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final RefItem val = vstack.popRef(); if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } val.release(eContext);
final RefItem val = vstack.popRef(); if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } val.release(eContext);
public final void visit_areturn() { final RefItem val = vstack.popRef(); if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } val.release(eContext); visit_return(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
visit_return(); }
visit_return(); }
public final void visit_areturn() { final RefItem val = vstack.popRef(); if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } val.release(eContext); visit_return(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r = ref.getRegister();
final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r = ref.getRegister();
public final void visit_arraylength() { final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r = ref.getRegister(); os.writeMOV(INTSIZE, r, r, VmArray.LENGTH_OFFSET * slotSize); final IntItem i = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r,...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
os.writeMOV(INTSIZE, r, r, VmArray.LENGTH_OFFSET * slotSize);
os.writeMOV(INTSIZE, r, r, arrayLengthOffset);
public final void visit_arraylength() { final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r = ref.getRegister(); os.writeMOV(INTSIZE, r, r, VmArray.LENGTH_OFFSET * slotSize); final IntItem i = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r,...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final IntItem i = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r, i); vstack.push(i); }
final IntItem i = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r, i); vstack.push(i); }
public final void visit_arraylength() { final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r = ref.getRegister(); os.writeMOV(INTSIZE, r, r, VmArray.LENGTH_OFFSET * slotSize); final IntItem i = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r,...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (debug) { BootLog.debug("astore_" + index + "\t" + vstack); } int disp = stackFrame.getEbpOffset(index);
if (debug) { BootLog.debug("astore_" + index + "\t" + vstack); } int disp = stackFrame.getEbpOffset(index);
public final void visit_astore(int index) { if (debug) { BootLog.debug("astore_" + index + "\t" + vstack); } int disp = stackFrame.getEbpOffset(index); // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); RefItem i = vstack.popRef()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.loadLocal(eContext, disp);
vstack.loadLocal(eContext, disp);
public final void visit_astore(int index) { if (debug) { BootLog.debug("astore_" + index + "\t" + vstack); } int disp = stackFrame.getEbpOffset(index); // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); RefItem i = vstack.popRef()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
RefItem i = vstack.popRef(); i.load(eContext); os.writeMOV(INTSIZE, FP, disp, i.getRegister()); i.release(eContext); }
RefItem i = vstack.popRef(); i.load(eContext); os.writeMOV(INTSIZE, FP, disp, i.getRegister()); i.release(eContext); }
public final void visit_astore(int index) { if (debug) { BootLog.debug("astore_" + index + "\t" + vstack); } int disp = stackFrame.getEbpOffset(index); // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); RefItem i = vstack.popRef()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final RefItem ref = vstack.popRef();
final RefItem ref = vstack.popRef();
public final void visit_athrow() { final RefItem ref = vstack.popRef(); // Exception must be in EAX if (!ref.uses(EAX)) { requestRegister(EAX, ref); ref.loadTo(eContext, EAX); } helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS); ref.release(eContex...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
if (!ref.uses(EAX)) { requestRegister(EAX, ref); ref.loadTo(eContext, EAX); }
if (!ref.uses(EAX)) { requestRegister(EAX, ref); ref.loadTo(eContext, EAX); }
public final void visit_athrow() { final RefItem ref = vstack.popRef(); // Exception must be in EAX if (!ref.uses(EAX)) { requestRegister(EAX, ref); ref.loadTo(eContext, EAX); } helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS); ref.release(eContex...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS); ref.release(eContext); }
helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS); ref.release(eContext); }
public final void visit_athrow() { final RefItem ref = vstack.popRef(); // Exception must be in EAX if (!ref.uses(EAX)) { requestRegister(EAX, ref); ref.loadTo(eContext, EAX); } helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS); ref.release(eContex...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
public final void visit_baload() { 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) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(BYTESIZE, r, r, offset + VmArray.DATA_OFFSET * 4); } else { final Register i = idx.getRegister(); os.write...
idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(BYTESIZE, r, r, offset + VmArray.DATA_OFFSET * 4); } else { final Register i = idx.getRegister(); os.write...
public final void visit_baload() { 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) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final IntItem result = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r, result); vstack.push(result); }
final IntItem result = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r, result); vstack.push(result); }
public final void visit_baload() { 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) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
public final void visit_bastore() { 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.Kind.CONSTANT); ref.load(eContext); final ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
val.load(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister();
val.load(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister();
public final void visit_bastore() { 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.Kind.CONSTANT); ref.load(eContext); final ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int i = idx.getValue(); os.writeMOV(BYTESIZE, r, i + VmArray.DATA_OFFSET * 4, v); } else { final Register i = idx.getRegister(); os.writeMOV(BYTESIZE, r, i, 4, VmArray.DATA_OFFSET * 4, v); } val.release(eContext); idx.release(eContext); ref.release...
checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int i = idx.getValue(); os.writeMOV(BYTESIZE, r, i + VmArray.DATA_OFFSET * 4, v); } else { final Register i = idx.getRegister(); os.writeMOV(BYTESIZE, r, i, 4, VmArray.DATA_OFFSET * 4, v); } val.release(eContext); idx.release(eContext); ref.release...
public final void visit_bastore() { 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.Kind.CONSTANT); ref.load(eContext); final ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
public final void visit_caload() { 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) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext);
idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext);
public final void visit_caload() { 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) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(WORDSIZE, r, r, offset + VmArray.DATA_OFFSET * 4); } else { final Register offset = idx.getRegister(); os.writeMOV(WORDSIZE, r, r, offset, 2, VmArray.DATA_OFFSET * 4); i...
final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int offset = idx.getValue(); os.writeMOV(WORDSIZE, r, r, offset + VmArray.DATA_OFFSET * 4); } else { final Register offset = idx.getRegister(); os.writeMOV(WORDSIZE, r, r, offset, 2, VmArray.DATA_OFFSET * 4); i...
public final void visit_caload() { 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) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef();
public final void visit_castore() { 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.Kind.CONSTANT); ref.load(eContext); final ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
val.load(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister();
val.load(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister();
public final void visit_castore() { 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.Kind.CONSTANT); ref.load(eContext); final ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int i = idx.getValue(); os.writeMOV(WORDSIZE, r, i + VmArray.DATA_OFFSET * 4, v); } else { final Register i = idx.getRegister(); os.writeMOV(WORDSIZE, r, i, 2, VmArray.DATA_OFFSET * 4, v); } val.release(eContext); idx.release(eContext); ref.release...
checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { final int i = idx.getValue(); os.writeMOV(WORDSIZE, r, i + VmArray.DATA_OFFSET * 4, v); } else { final Register i = idx.getRegister(); os.writeMOV(WORDSIZE, r, i, 2, VmArray.DATA_OFFSET * 4, v); } val.release(eContext); idx.release(eContext); ref.release...
public final void visit_castore() { 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.Kind.CONSTANT); ref.load(eContext); final ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final RefItem ref = vstack.popRef();
requestRegister(EAX);
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT);
final RefItem ref = vstack.popRef();
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
writeResolveAndLoadClassToReg(classRef, classr);
ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT);
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Label okLabel = new Label(this.curInstrLabel + "cc-ok");
writeResolveAndLoadClassToReg(classRef, classr);
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
/* Is objectref null? */ os.writeTEST(refr, refr); os.writeJCC(okLabel, X86Constants.JZ); /* Is instanceof? */ instanceOf(refr, okLabel); /* Not instanceof */
final Label okLabel = new Label(this.curInstrLabel + "cc-ok");
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
os.writePUSH(SoftByteCodes.EX_CLASSCAST); os.writePUSH(0); helper.invokeJavaMethod(context.getSystemExceptionMethod()); final RefItem exi = vstack.popRef(); assertCondition(exi.uses(EAX), "item must be in eax");
/* Is objectref null? */ os.writeTEST(refr, refr); os.writeJCC(okLabel, X86Constants.JZ); /* Is instanceof? */ instanceOf(refr, okLabel); /* Not instanceof */
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
/* Exception in EAX, throw it */ helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS);
releaseRegister(EAX);
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
/* Normal exit */ os.setObjectRef(okLabel);
os.writePUSH(SoftByteCodes.EX_CLASSCAST); os.writePUSH(0); helper.invokeJavaMethod(context.getSystemExceptionMethod()); final RefItem exi = vstack.popRef(); assertCondition(exi.uses(EAX), "item must be in eax"); exi.release(eContext);
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.push(ref);
/* Exception in EAX, throw it */ helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS);
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
releaseRegister(classr); }
/* Normal exit */ os.setObjectRef(okLabel); vstack.push(ref); releaseRegister(classr); }
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.FLOAT); }
FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.FLOAT); }
public final void visit_d2f() { FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.FLOAT); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.INT); }
FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.INT); }
public final void visit_d2i() { FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.INT); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.LONG); }
FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.LONG); }
public final void visit_d2l() { FPUHelper.convert(eContext, vstack, JvmType.DOUBLE, JvmType.LONG); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.add(os, eContext, vstack, JvmType.DOUBLE); }
FPUHelper.add(os, eContext, vstack, JvmType.DOUBLE); }
public final void visit_dadd() { FPUHelper.add(os, eContext, vstack, JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
visit_dwaload(JvmType.DOUBLE); }
final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register refr = ref.getRegister(); checkBounds(ref, idx); FPUHelper.ensureStackCapacity(os, eContext, vstack, 1); if (idx.isConstant()) { final int offset = idx.getValue(); o...
public final void visit_daload() { visit_dwaload(JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
visit_dwastore(JvmType.DOUBLE); }
visit_dwastore(JvmType.DOUBLE); }
public final void visit_dastore() { visit_dwastore(JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.compare(os, eContext, vstack, true, JvmType.DOUBLE, curInstrLabel); }
FPUHelper.compare(os, eContext, vstack, true, JvmType.DOUBLE, curInstrLabel); }
public final void visit_dcmpg() { FPUHelper.compare(os, eContext, vstack, true, JvmType.DOUBLE, curInstrLabel); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.compare(os, eContext, vstack, false, JvmType.DOUBLE, curInstrLabel); }
FPUHelper.compare(os, eContext, vstack, false, JvmType.DOUBLE, curInstrLabel); }
public final void visit_dcmpl() { FPUHelper.compare(os, eContext, vstack, false, JvmType.DOUBLE, curInstrLabel); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.push(DoubleItem.createConst(value)); }
vstack.push(DoubleItem.createConst(value)); }
public final void visit_dconst(double value) { vstack.push(DoubleItem.createConst(value)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.div(os, eContext, vstack, JvmType.DOUBLE); }
FPUHelper.div(os, eContext, vstack, JvmType.DOUBLE); }
public final void visit_ddiv() { FPUHelper.div(os, eContext, vstack, JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.push(DoubleItem.createLocal(stackFrame.getWideEbpOffset(index))); }
vstack.push(DoubleItem.createLocal(stackFrame.getWideEbpOffset(index))); }
public final void visit_dload(int index) { vstack.push(DoubleItem.createLocal(stackFrame.getWideEbpOffset(index))); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.mul(os, eContext, vstack, JvmType.DOUBLE); }
FPUHelper.mul(os, eContext, vstack, JvmType.DOUBLE); }
public final void visit_dmul() { FPUHelper.mul(os, eContext, vstack, JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.neg(os, eContext, vstack, JvmType.DOUBLE); }
FPUHelper.neg(os, eContext, vstack, JvmType.DOUBLE); }
public final void visit_dneg() { FPUHelper.neg(os, eContext, vstack, JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.rem(os, eContext, vstack, JvmType.DOUBLE); }
FPUHelper.rem(os, eContext, vstack, JvmType.DOUBLE); }
public final void visit_drem() { FPUHelper.rem(os, eContext, vstack, JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final DoubleItem val = vstack.popDouble(); if (!(val.uses(EAX) && val.uses(EDX))) { if (val.uses(EAX) || val.uses(EDX)) { val.push(eContext); } requestRegister(EAX, val); requestRegister(EDX, val); val.loadTo(eContext, EAX, EDX); } val.release(eContext); visit_return(); }
final DoubleItem val = vstack.popDouble(); if (!(val.uses(EAX) && val.uses(EDX))) { if (val.uses(EAX) || val.uses(EDX)) { val.push(eContext); } requestRegister(EAX, val); requestRegister(EDX, val); val.loadTo(eContext, EAX, EDX); } val.release(eContext); visit_return(); }
public final void visit_dreturn() { final DoubleItem val = vstack.popDouble(); if (!(val.uses(EAX) && val.uses(EDX))) { if (val.uses(EAX) || val.uses(EDX)) { val.push(eContext); } requestRegister(EAX, val); requestRegister(EDX, val); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final DoubleItem val = vstack.popDouble();
final DoubleItem val = vstack.popDouble();
public final void visit_dstore(int index) { final DoubleItem val = vstack.popDouble(); final int ebpOfs = stackFrame.getWideEbpOffset(index); // pin down other references to this load vstack.loadLocal(eContext, ebpOfs); // Load value val.loadToGPR(eContext); // Store...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final int ebpOfs = stackFrame.getWideEbpOffset(index);
final int ebpOfs = stackFrame.getWideEbpOffset(index);
public final void visit_dstore(int index) { final DoubleItem val = vstack.popDouble(); final int ebpOfs = stackFrame.getWideEbpOffset(index); // pin down other references to this load vstack.loadLocal(eContext, ebpOfs); // Load value val.loadToGPR(eContext); // Store...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
vstack.loadLocal(eContext, ebpOfs);
vstack.loadLocal(eContext, ebpOfs);
public final void visit_dstore(int index) { final DoubleItem val = vstack.popDouble(); final int ebpOfs = stackFrame.getWideEbpOffset(index); // pin down other references to this load vstack.loadLocal(eContext, ebpOfs); // Load value val.loadToGPR(eContext); // Store...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
val.loadToGPR(eContext);
val.loadToGPR(eContext);
public final void visit_dstore(int index) { final DoubleItem val = vstack.popDouble(); final int ebpOfs = stackFrame.getWideEbpOffset(index); // pin down other references to this load vstack.loadLocal(eContext, ebpOfs); // Load value val.loadToGPR(eContext); // Store...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Register lsb = val.getLsbRegister(); final Register msb = val.getMsbRegister(); os.writeMOV(INTSIZE, FP, ebpOfs, lsb); os.writeMOV(INTSIZE, FP, ebpOfs + 4, msb);
final Register lsb = val.getLsbRegister(); final Register msb = val.getMsbRegister(); os.writeMOV(INTSIZE, FP, ebpOfs, lsb); os.writeMOV(INTSIZE, FP, ebpOfs + 4, msb);
public final void visit_dstore(int index) { final DoubleItem val = vstack.popDouble(); final int ebpOfs = stackFrame.getWideEbpOffset(index); // pin down other references to this load vstack.loadLocal(eContext, ebpOfs); // Load value val.loadToGPR(eContext); // Store...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
val.release(eContext); }
val.release(eContext); }
public final void visit_dstore(int index) { final DoubleItem val = vstack.popDouble(); final int ebpOfs = stackFrame.getWideEbpOffset(index); // pin down other references to this load vstack.loadLocal(eContext, ebpOfs); // Load value val.loadToGPR(eContext); // Store...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
FPUHelper.sub(os, eContext, vstack, JvmType.DOUBLE); }
FPUHelper.sub(os, eContext, vstack, JvmType.DOUBLE); }
public final void visit_dsub() { FPUHelper.sub(os, eContext, vstack, JvmType.DOUBLE); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); vstack.push(v1); vstack.push(v1.clone(eContext)); }
final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); vstack.push(v1); vstack.push(v1.clone(eContext)); }
public final void visit_dup() { final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); vstack.push(v1); vstack.push(v1.clone(eContext)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (v1.getCategory() == 1) { final Item v2 = vstack.pop(); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); assertCondition(v2.getCategory() == 1, "category mismatch"); vstack.push(v2.clone(eContext)); vstack.push(v1); v...
final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (v1.getCategory() == 1) { final Item v2 = vstack.pop(); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); assertCondition(v2.getCategory() == 1, "category mismatch"); vstack.push(v2.clone(eContext)); vstack.push(v1.clo...
public final void visit_dup2() { final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (v1.getCategory() == 1) { // form1 final Item v2 = vstack.pop(); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); as...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
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); assertCondition(v2.getCategory() == 1, "category mismatch"); if (v1.getCategory() == 2) { vstack.push(v1.clone(eContext)); vstack.push(v2); vs...
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); assertCondition(v2.getCategory() == 1, "category mismatch"); if (v1.getCategory() == 2) { vstack.push(v1.clone(eContext)); vstack.push(v2); vs...
public final void visit_dup2_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); assertCondition(v2.getCategory() == 1, "category mismatch"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (c2 == 2) { assertCondition(c1 == 2, "category mismatch"); vstack.push...
final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (c2 == 2) { assertCondition(c1 == 2, "category mismatch"); vstack.push...
public final void visit_dup2_x2() { final Item v1 = vstack.pop(); final Item v2 = vstack.pop(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUST...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
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); vstack.push(v1); }
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); vstack.push(v1); }
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
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) { vstack.push(v1.clone(eContext)); vstack.push(v2); vstack.push(v1); } else { final Item v3 = vstack.pop(); v3.lo...
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) { vstack.push(v1.clone(eContext)); vstack.push(v2); vstack.push(v1); } else { final Item v3 = vstack.pop(); v3.lo...
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java