llvm-svn: 30453
This commit is contained in:
Chris Lattner 2006-09-18 04:58:06 +00:00
parent b0b8ddd175
commit 8f499f1772
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public:
/// Return the constant as a 64-bit integer value after it has been sign
/// sign extended as appropriate for the type of this constant.
/// @brief REturn the sign extended value.
/// @brief Return the sign extended value.
inline int64_t getSExtValue() const {
unsigned Size = getType()->getPrimitiveSizeInBits();
return (Val.Signed << (64-Size)) >> (64-Size);