diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-23 08:50:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-23 08:50:52 +0000 |
commit | 33b2663488b0f8f188c1a6003faabd5ee89f7749 (patch) | |
tree | e065dd125073b29bef24b370936292415bae2b18 /lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | |
parent | 5febcae0d24fc09d90564a46e23645b2443f4304 (diff) | |
download | external_llvm-33b2663488b0f8f188c1a6003faabd5ee89f7749.zip external_llvm-33b2663488b0f8f188c1a6003faabd5ee89f7749.tar.gz external_llvm-33b2663488b0f8f188c1a6003faabd5ee89f7749.tar.bz2 |
Fix some refactos for iostream changes (in -Asserts mode).
- The world needs better C++ refactoring tools, can I get an Amen!?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp index c31e7dd..6af2f61 100644 --- a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp +++ b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp @@ -607,7 +607,7 @@ void SystemZDAGToDAGISel::InstructionSelect() { // Codegen the basic block. DEBUG(errs() << "===== Instruction selection begins:\n"); - Indent = 0; + DEBUG(Indent = 0); SelectRoot(*CurDAG); DEBUG(errs() << "===== Instruction selection ends:\n"); @@ -624,14 +624,14 @@ SDNode *SystemZDAGToDAGISel::Select(SDValue Op) { DEBUG(errs().indent(Indent) << "Selecting: "; Node->dump(CurDAG); errs() << "\n"); - Indent += 2; + DEBUG(Indent += 2); // If we have a custom node, we already have selected! if (Node->isMachineOpcode()) { DEBUG(errs().indent(Indent-2) << "== "; Node->dump(CurDAG); errs() << "\n"); - Indent -= 2; + DEBUG(Indent -= 2); return NULL; // Already selected. } @@ -822,7 +822,7 @@ SDNode *SystemZDAGToDAGISel::Select(SDValue Op) { ResNode->dump(CurDAG); errs() << "\n"; ); - Indent -= 2; + DEBUG(Indent -= 2); return ResNode; } |