diff options
author | Fangrui Song <i@maskray.me> | 2023-10-27 00:30:40 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-10-27 00:30:41 -0700 |
commit | 8e247b8f4734b1b829156794bb2d9bf8c9c0e72a (patch) | |
tree | b88611ff95da2914bd6180ee0e602a7c96d91115 /llvm/lib/IR/DebugInfo.cpp | |
parent | 58d4fe287e02dab99eec282917c67abbb36fc3e4 (diff) | |
download | llvm-8e247b8f4734b1b829156794bb2d9bf8c9c0e72a.zip llvm-8e247b8f4734b1b829156794bb2d9bf8c9c0e72a.tar.gz llvm-8e247b8f4734b1b829156794bb2d9bf8c9c0e72a.tar.bz2 |
Replace TypeSize::{getFixed,getScalable} with canonical TypeSize::{Fixed,Scalable}. NFC
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 48b5501..390a27c 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -1947,7 +1947,7 @@ std::optional<AssignmentInfo> at::getAssignmentInfo(const DataLayout &DL, // We can't use a non-const size, bail. return std::nullopt; uint64_t SizeInBits = 8 * ConstLengthInBytes->getZExtValue(); - return getAssignmentInfoImpl(DL, StoreDest, TypeSize::getFixed(SizeInBits)); + return getAssignmentInfoImpl(DL, StoreDest, TypeSize::Fixed(SizeInBits)); } std::optional<AssignmentInfo> at::getAssignmentInfo(const DataLayout &DL, |