aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-08-04 00:41:29 -0700
committerGitHub <noreply@github.com>2024-08-04 00:41:29 -0700
commit8d1b17b6623742ec4454f5bae2e23f8b30124314 (patch)
tree5967c3998629a2c4807519ddcc541c83bbde5792 /llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
parent533190acdb9d2ed774f96a998b5c03be3df4f857 (diff)
downloadllvm-8d1b17b6623742ec4454f5bae2e23f8b30124314.zip
llvm-8d1b17b6623742ec4454f5bae2e23f8b30124314.tar.gz
llvm-8d1b17b6623742ec4454f5bae2e23f8b30124314.tar.bz2
[CodeGen] Construct SmallVector with ArrayRef (NFC) (#101841)
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp b/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
index 4957f70..05bc453 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
@@ -136,7 +136,7 @@ class AppleAccelTableWriter : public AccelTableWriter {
const SmallVector<Atom, 4> Atoms;
HeaderData(ArrayRef<Atom> AtomList, uint32_t Offset = 0)
- : DieOffsetBase(Offset), Atoms(AtomList.begin(), AtomList.end()) {}
+ : DieOffsetBase(Offset), Atoms(AtomList) {}
void emit(AsmPrinter *Asm) const;
#ifndef NDEBUG