aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineBasicBlock.h
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-12-15 22:57:14 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-12-15 22:57:14 +0000
commitc21c5eeb4f56f160e79522df2d3aab5cfe73c05d (patch)
treeb349cac9dfc28354762c66ad227c0ae9e496748a /include/llvm/CodeGen/MachineBasicBlock.h
parent19103b11ecbd5153537a1c64ffefa922fe591add (diff)
An even better unbreakage...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index c848b065b4..4cf6a24e45 100644
--- a/include/llvm/CodeGen/MachineBasicBlock.h
+++ b/include/llvm/CodeGen/MachineBasicBlock.h
@@ -226,10 +226,7 @@ private: // Methods used to maintain doubly linked list of blocks...
};
std::ostream& operator<<(std::ostream &OS, const MachineBasicBlock &MBB);
-inline OStream& operator<<(OStream &OS, const MachineBasicBlock &MBB){
- if (OS.stream()) *OS.stream() << MBB;
- return OS;
-}
+OStream& operator<<(OStream &OS, const MachineBasicBlock &MBB);
//===--------------------------------------------------------------------===//
// GraphTraits specializations for machine basic block graphs (machine-CFGs)