final IntItem result = IntItem.createReg(refr);
final IntItem result = (IntItem)ifac.createReg(JvmType.INT, refr);
    public final void visit_instanceof(VmConstClass classRef) {        // Prepare        final X86RegisterPool pool = eContext.getPool();        // Pre-claim ECX        L1AHelper.requestRegister(eContext, ECX);        // Load reference        final RefItem ref = vstack.popRef();        ref.load(eContext);        final Register refr = ref.getRegister();        // Allocate tmp registers        final Register classr = L1AHelper.requestRegister(eContext,                JvmType.INT, false);        final Register tmpr = L1AHelper.requestRegister(eContext, JvmType.INT,                false);        /* Objectref is already on the stack */        writeResolveAndLoadClassToReg(classRef, classr);        final Label trueLabel = new Label(this.curInstrLabel + "io-true");        final Label endLabel = new Label(this.curInstrLabel + "io-end");        /* Is instanceof? */        instanceOf(refr, classr, tmpr, trueLabel, false);        /* Not instanceof */        //TODO: use setcc instead of jumps        os.writeXOR(refr, refr);        os.writeJMP(endLabel);        os.setObjectRef(trueLabel);        os.writeMOV_Const(refr, 1);        // Push result        os.setObjectRef(endLabel);        final IntItem result = IntItem.createReg(refr);        pool.transferOwnerTo(refr, result);        vstack.push(result);        // Release        pool.release(classr);        pool.release(tmpr);        pool.release(ECX);    }