public MemberValue makeMemberValue(long value) { return new MemberValue(MEMBER_TAG_LONG, mCp.addConstantLong(value)); }
/** * Set the constant value for this field as a long. */ public void setConstantValue(long value) { addAttribute(new ConstantValueAttr(mCp, mCp.addConstantLong(value))); }
public void loadConstant(long value) { if (value == 0) { addInstruction(2, TypeDesc.LONG, Opcode.LCONST_0); } else if (value == 1) { addInstruction(2, TypeDesc.LONG, Opcode.LCONST_1); } else { ConstantInfo info = mCp.addConstantLong(value); mInstructions.new LoadConstantInstruction(2, TypeDesc.LONG, info, true); } }
public MemberValue makeMemberValue(long value) { return new MemberValue(MEMBER_TAG_LONG, mCp.addConstantLong(value)); }
/** * Set the constant value for this field as a long. */ public void setConstantValue(long value) { addAttribute(new ConstantValueAttr(mCp, mCp.addConstantLong(value))); }
public void loadConstant(long value) { if (value == 0) { addInstruction(2, TypeDesc.LONG, Opcode.LCONST_0); } else if (value == 1) { addInstruction(2, TypeDesc.LONG, Opcode.LCONST_1); } else { ConstantInfo info = mCp.addConstantLong(value); mInstructions.new LoadConstantInstruction(2, TypeDesc.LONG, info, true); } }