case Type::UIntTyID:
case Type::ULongTyID: return getAllOnesValue(Ty);
- default:
- assert(0 && "Non-integral type specified!");
- return 0;
+ default: return 0;
}
}
case Type::UIntTyID:
case Type::ULongTyID: return ConstantUInt::get(Ty, 0);
- default:
- assert(0 && "Non-integral type specified!");
- return 0;
+ default: return 0;
}
}
Val >>= 64-TypeBits; // Shift out unwanted 1 bits...
return ConstantUInt::get(Ty, Val);
}
- default:
- assert(0 && "Non-integral type specified!");
- return 0;
+ default: return 0;
}
}