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 | 43ed267db3512823a9698f810be4e64bee227270 (patch) | |
tree | e065dd125073b29bef24b370936292415bae2b18 /lib/Target/Mips/MipsISelDAGToDAG.cpp | |
parent | d9ea85ab01fb0f2929ed50223d3758dceea8bcbd (diff) | |
download | llvm-43ed267db3512823a9698f810be4e64bee227270.tar.gz llvm-43ed267db3512823a9698f810be4e64bee227270.tar.bz2 llvm-43ed267db3512823a9698f810be4e64bee227270.tar.xz |
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/Mips/MipsISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/Mips/MipsISelDAGToDAG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp index d0641a19d7..ca72ff03dc 100644 --- a/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/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; } |