final Item item; switch (jvmType) { case JvmType.LONG: item = LongItem.createReg(lsbReg, msbReg); break; case JvmType.DOUBLE: item = DoubleItem.createReg(lsbReg, msbReg); break; default: throw new IllegalArgumentException("Unknown JvmType " + jvmType); } push(item); }
final Item item; switch (jvmType) { case JvmType.LONG: item = LongItem.createReg(lsbReg, msbReg); break; case JvmType.DOUBLE: item = DoubleItem.createReg(lsbReg, msbReg); break; default: throw new IllegalArgumentException("Unknown JvmType " + jvmType); } Item.assertCondition(pool.request(lsbReg, item), "request-lsb"); Item.assertCondition(pool.request(msbReg, item), "request-msb"); push(item); }
        public void writePUSH64(int jvmType, Register lsbReg, Register msbReg) {            final Item item;            switch (jvmType) {            case JvmType.LONG:                item = LongItem.createReg(lsbReg, msbReg);                break;            case JvmType.DOUBLE:                item = DoubleItem.createReg(lsbReg, msbReg);                break;            default:                throw new IllegalArgumentException("Unknown JvmType " + jvmType);            }            push(item);        }