diff options
author | Kazu Hirata <kazu@google.com> | 2024-08-04 00:41:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-04 00:41:29 -0700 |
commit | 8d1b17b6623742ec4454f5bae2e23f8b30124314 (patch) | |
tree | 5967c3998629a2c4807519ddcc541c83bbde5792 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 533190acdb9d2ed774f96a998b5c03be3df4f857 (diff) | |
download | llvm-8d1b17b6623742ec4454f5bae2e23f8b30124314.zip llvm-8d1b17b6623742ec4454f5bae2e23f8b30124314.tar.gz llvm-8d1b17b6623742ec4454f5bae2e23f8b30124314.tar.bz2 |
[CodeGen] Construct SmallVector with ArrayRef (NFC) (#101841)
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp index 20d5b26..a69dbbb 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp @@ -252,8 +252,7 @@ public: DbgValueProperties Properties; UseBeforeDef(ArrayRef<DbgOp> Values, DebugVariableID VarID, const DbgValueProperties &Properties) - : Values(Values.begin(), Values.end()), VarID(VarID), - Properties(Properties) {} + : Values(Values), VarID(VarID), Properties(Properties) {} }; /// Map from instruction index (within the block) to the set of UseBeforeDefs |