aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2021-12-08 17:36:37 -0800
committerMircea Trofin <mtrofin@google.com>2021-12-08 18:12:51 -0800
commit91a0da0142177ff5371cb5983e4befa329c46971 (patch)
treefb1d34ff53faf76e36b9a2079b86a0745e7ab22e /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
parent54b35c09b2cd5e068a9b2f1df461045c732b2807 (diff)
downloadllvm-91a0da0142177ff5371cb5983e4befa329c46971.zip
llvm-91a0da0142177ff5371cb5983e4befa329c46971.tar.gz
llvm-91a0da0142177ff5371cb5983e4befa329c46971.tar.bz2
[NFC] Rename MachineFunction::DeleteMachineBasicBlock
Renamed to conform to coding style
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
index 7832f19..17e867e 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
@@ -1741,7 +1741,7 @@ void WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
void WebAssemblyCFGStackify::cleanupFunctionData(MachineFunction &MF) {
if (FakeCallerBB)
- MF.DeleteMachineBasicBlock(FakeCallerBB);
+ MF.deleteMachineBasicBlock(FakeCallerBB);
AppendixBB = FakeCallerBB = nullptr;
}