diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 01:03:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 01:03:30 +0000 |
commit | 372fefe8d24e40df2390fffeea0dc2dec611f88b (patch) | |
tree | 8cbe57d4116f7684b6ee9d58f3554f4f477c8c06 /include | |
parent | b01acfae5bf66d82eda7c12c473e5a51831f9382 (diff) |
remove some dead print method variants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineBasicBlock.h | 6 | ||||
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 787b33bc38..7d6ecf9f1b 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -311,13 +311,7 @@ public: // Debugging methods. void dump() const; void print(std::ostream &OS) const; - void print(std::ostream *OS) const { - if (OS) print(*OS); - } void print(raw_ostream &OS) const; - void print(raw_ostream *OS) const { - if (OS) print(*OS); - } /// getNumber - MachineBasicBlocks are uniquely numbered at the function /// level, unless they're not in a MachineFunction yet, in which case this diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index e4681d9292..055baac07c 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -208,9 +208,6 @@ public: /// to the specified stream. /// void print(std::ostream &OS) const; - void print(std::ostream *OS) const { - if (OS) print(*OS); - } /// viewCFG - This function is meant for use from the debugger. You can just /// say 'call F->viewCFG()' and a ghostview window should pop up from the |