diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-30 00:09:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-30 00:09:23 +0000 |
commit | bca81448ac8e19c588c9a4ad16fc70732b76327c (patch) | |
tree | eb4d515aa88a94cc20e36908ff4336a032129399 /lib/CodeGen | |
parent | 5c3fa1ec79b3e37e364641a995e08e0ddd933372 (diff) |
Improve conformance with the Misha spelling benchmark suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/MachineBasicBlock.cpp | 2 | ||||
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index a69d1580a3..6774dde9ab 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp @@ -46,7 +46,7 @@ void ilist_traits<MachineBasicBlock>::removeNodeFromList(MachineBasicBlock* N) { } -MachineInstr* ilist_traits<MachineInstr>::createSentinal() { +MachineInstr* ilist_traits<MachineInstr>::createSentinel() { MachineInstr* dummy = new MachineInstr(0, 0); LeakDetector::removeGarbageObject(dummy); return dummy; diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 903346d914..d49a1ddb4b 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -90,7 +90,7 @@ FunctionPass *llvm::createMachineCodeDeleter() { // MachineFunction implementation //===---------------------------------------------------------------------===// -MachineBasicBlock* ilist_traits<MachineBasicBlock>::createSentinal() { +MachineBasicBlock* ilist_traits<MachineBasicBlock>::createSentinel() { MachineBasicBlock* dummy = new MachineBasicBlock(); LeakDetector::removeGarbageObject(dummy); return dummy; |