os.setObjectRef(endLabel); final IntItem result = IntItem.createReg(refr); eContext.getPool().transferOwnerTo(refr, result); vstack.push(result); }
os.setObjectRef(trueLabel); os.writeMOV_Const(refr, 1);   os.setObjectRef(endLabel); final IntItem result = IntItem.createReg(refr); pool.transferOwnerTo(refr, result); vstack.push(result);   pool.release(classr); }
    public final void visit_instanceof(VmConstClass classRef) {        // Load reference        final RefItem ref = vstack.popRef();        ref.load(eContext);        final Register refr = ref.getRegister();        // Allocate tmp register        final Register classr = requestRegister(JvmType.INT);        /* 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, trueLabel);        /* Not instanceof */        //TODO: use setcc instead of jumps        os.writeXOR(refr, refr);        os.writeJMP(endLabel);        os.setObjectRef(trueLabel);        os.writeMOV_Const(refr, 1);        os.setObjectRef(endLabel);        final IntItem result = IntItem.createReg(refr);        eContext.getPool().transferOwnerTo(refr, result);        vstack.push(result);    }