diff options
author | Vasileios Porpodas <vporpodas@google.com> | 2022-12-13 13:47:25 -0800 |
---|---|---|
committer | Vasileios Porpodas <vporpodas@google.com> | 2022-12-13 14:38:39 -0800 |
commit | 18a4da8cbe1f64465e06eb3024f0ba802c717fe0 (patch) | |
tree | 4a0f1d6df3b56d59ead7d41aa07874520e0153be /llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp | |
parent | eaade37fddec5439f58587347ad7c463f7a41400 (diff) | |
download | llvm-18a4da8cbe1f64465e06eb3024f0ba802c717fe0.zip llvm-18a4da8cbe1f64465e06eb3024f0ba802c717fe0.tar.gz llvm-18a4da8cbe1f64465e06eb3024f0ba802c717fe0.tar.bz2 |
[NFC] Cleanup: Remove uses of BasicBlock::getInstList().
This is part of a series of patches that aim at making Function::getInstList() private.
Differential Revision: https://reviews.llvm.org/D139971
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp index 7eca7d9..478e235 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp @@ -1630,7 +1630,7 @@ void WebAssemblyLowerEmscriptenEHSjLj::handleLongjmpableCallsForEmscriptenSjLj( // Create switch instruction IRB.SetInsertPoint(EndBB); - IRB.SetCurrentDebugLocation(EndBB->getInstList().back().getDebugLoc()); + IRB.SetCurrentDebugLocation(EndBB->back().getDebugLoc()); SwitchInst *SI = IRB.CreateSwitch(Label, Tail, SetjmpRetPHIs.size()); // -1 means no longjmp happened, continue normally (will hit the default // switch case). 0 means a longjmp that is not ours to handle, needs a |