final IntItem val = vstack.popInt(); val.loadIf(eContext, ~(Item.Kind.CONSTANT | Item.Kind.LOCAL)); if (val.isConstant()) { vstack.push(IntItem.createConst(-val.getValue())); } else if (val.isLocal()) { os.writeNEG(FP, val.getOffsetToFP()); vstack.push(val); } else { os.writeNEG(val.getRegister()); vstack.push(val); } }
final IntItem val = vstack.popInt(); val.loadIf(eContext, ~Item.Kind.CONSTANT); if (val.isConstant()) { vstack.push(IntItem.createConst(-val.getValue())); } else { os.writeNEG(val.getRegister()); vstack.push(val); } }
	public final void visit_ineg() {		final IntItem val = vstack.popInt();		val.loadIf(eContext, ~(Item.Kind.CONSTANT | Item.Kind.LOCAL));		if (val.isConstant()) {			vstack.push(IntItem.createConst(-val.getValue()));		} else if (val.isLocal()) {			os.writeNEG(FP, val.getOffsetToFP());			vstack.push(val);		} else {			os.writeNEG(val.getRegister());			vstack.push(val);		}	}