RefItem v = vstack.popRef(); v.load(eContext); Register r = v.getRegister();
Item v; Register r; if (type == Item.REFERENCE) { RefItem vr = vstack.popRef(); vr.load(eContext); r = vr.getRegister(); v = vr; } else { IntItem vi = vstack.popInt(); vi.load(eContext); r = vi.getRegister(); v = vi; } v.release(eContext);
    private void visit_ifxx(int address, int jccOpcode) {        //IMPROVE: Constant case / Local case        RefItem v = vstack.popRef();        v.load(eContext);        Register r = v.getRegister();        os.writeTEST(r, r);        //TODO: shall I flush the stack before a jump?        os.writeJCC(helper.getInstrLabel(address), jccOpcode);        v.release(eContext);    }