aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2021-12-08 20:35:33 -0800
committerMircea Trofin <mtrofin@google.com>2021-12-08 20:36:13 -0800
commitb012742405cb0cdfed3d5ab4774d7d961c380b1a (patch)
treebda8863e0f6dfc9b4018ef1e157b9a449a9eddc3 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentc23ebf17140cc4fd42117f3bfb8cb045279d0c4d (diff)
downloadllvm-b012742405cb0cdfed3d5ab4774d7d961c380b1a.zip
llvm-b012742405cb0cdfed3d5ab4774d7d961c380b1a.tar.gz
llvm-b012742405cb0cdfed3d5ab4774d7d961c380b1a.tar.bz2
[NFC] Rename MachineFunction::deleteMachineInstr (coding style)
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index 094c8f0..8c9d00d 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -193,7 +193,7 @@ void ilist_traits<MachineInstr>::transferNodesFromList(ilist_traits &FromList,
void ilist_traits<MachineInstr>::deleteNode(MachineInstr *MI) {
assert(!MI->getParent() && "MI is still in a block!");
- Parent->getParent()->DeleteMachineInstr(MI);
+ Parent->getParent()->deleteMachineInstr(MI);
}
MachineBasicBlock::iterator MachineBasicBlock::getFirstNonPHI() {