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 | 34ee2033370b7ca9cef4cc89eeae99c2d9638197 (patch) | |
| tree | 7c4381eaf6946e12f97c2c4e8252bc8059cd44cf /llvm/lib/Target/Mips | |
| parent | 471ba48cb99a9d9bb8964f63363a3470369c2ecc (diff) | |
| download | bcm5719-llvm-34ee2033370b7ca9cef4cc89eeae99c2d9638197.tar.gz bcm5719-llvm-34ee2033370b7ca9cef4cc89eeae99c2d9638197.zip | |
Fix some refactos for iostream changes (in -Asserts mode).
- The world needs better C++ refactoring tools, can I get an Amen!?
llvm-svn: 79843
Diffstat (limited to 'llvm/lib/Target/Mips')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp index d0641a19d71..ca72ff03dc7 100644 --- a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp @@ -112,7 +112,7 @@ void MipsDAGToDAGISel::InstructionSelect() { DEBUG(BB->dump()); // Codegen the basic block. DEBUG(errs() << "===== Instruction selection begins:\n"); - Indent = 0; + DEBUG(Indent = 0); // Select target instructions for the DAG. SelectRoot(*CurDAG); @@ -190,14 +190,14 @@ SDNode* MipsDAGToDAGISel::Select(SDValue N) { 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; } @@ -367,7 +367,7 @@ SDNode* MipsDAGToDAGISel::Select(SDValue N) { else DEBUG(ResNode->dump(CurDAG)); DEBUG(errs() << "\n"); - Indent -= 2; + DEBUG(Indent -= 2); return ResNode; } |

