public final VM_TypeReference getType() { if (isRegister()) return asRegister().type; if (isType()) return VM_TypeReference.VM_Type; if (isIntConstant()) return ((OPT_IntConstantOperand) this).getSpeculativeType(); if (isAddressConstant()) return VM_TypeReference.Address; if (isNullConstant()) return VM_TypeReference.NULL_TYPE; if (isStringConstant()) return VM_TypeReference.JavaLangString; if (isFloatConstant()) return VM_TypeReference.Float; if (isLongConstant()) return VM_TypeReference.Long; if (isDoubleConstant()) return VM_TypeReference.Double; if (isTrueGuard()) return VM_TypeReference.VALIDATION_TYPE; throw new OPT_OptimizingCompilerException("unknown operand type: "+this);
public VM_TypeReference getType() {   throw new OPT_OptimizingCompilerException("Getting the type for this operand has no defined meaning: " + this);
  public final VM_TypeReference getType() {    if (isRegister())      return asRegister().type;    if (isType())      return VM_TypeReference.VM_Type;    if (isIntConstant())       return ((OPT_IntConstantOperand) this).getSpeculativeType();    if (isAddressConstant())      return VM_TypeReference.Address;    if (isNullConstant())      return VM_TypeReference.NULL_TYPE;    if (isStringConstant())      return VM_TypeReference.JavaLangString;    if (isFloatConstant())      return VM_TypeReference.Float;    if (isLongConstant())      return VM_TypeReference.Long;    if (isDoubleConstant())      return VM_TypeReference.Double;    if (isTrueGuard())      return VM_TypeReference.VALIDATION_TYPE;    throw new OPT_OptimizingCompilerException("unknown operand type: "+this);  }