diff options
author | Mircea Trofin <mtrofin@google.com> | 2021-12-08 17:36:37 -0800 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2021-12-08 18:12:51 -0800 |
commit | 91a0da0142177ff5371cb5983e4befa329c46971 (patch) | |
tree | fb1d34ff53faf76e36b9a2079b86a0745e7ab22e /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 54b35c09b2cd5e068a9b2f1df461045c732b2807 (diff) | |
download | llvm-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/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index c249dd8..28bef00 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -128,7 +128,7 @@ void MachineFunctionProperties::print(raw_ostream &OS) const { MachineFunctionInfo::~MachineFunctionInfo() = default; void ilist_alloc_traits<MachineBasicBlock>::deleteNode(MachineBasicBlock *MBB) { - MBB->getParent()->DeleteMachineBasicBlock(MBB); + MBB->getParent()->deleteMachineBasicBlock(MBB); } static inline unsigned getFnStackAlignment(const TargetSubtargetInfo *STI, @@ -421,8 +421,7 @@ MachineFunction::CreateMachineBasicBlock(const BasicBlock *bb) { } /// Delete the given MachineBasicBlock. -void -MachineFunction::DeleteMachineBasicBlock(MachineBasicBlock *MBB) { +void MachineFunction::deleteMachineBasicBlock(MachineBasicBlock *MBB) { assert(MBB->getParent() == this && "MBB parent mismatch!"); // Clean up any references to MBB in jump tables before deleting it. if (JumpTableInfo) |