mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
79bc332ddb
commit
6c6b6a77c0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user