diff options
| author | Manman Ren <mren@apple.com> | 2013-02-02 00:02:03 +0000 |
|---|---|---|
| committer | Manman Ren <mren@apple.com> | 2013-02-02 00:02:03 +0000 |
| commit | e498b25bc5c1f009be17fc5241b9c4f9dadac5d9 (patch) | |
| tree | b47c2380ef551596226450d57e9deeb0ece0e725 /llvm/include | |
| parent | 599171addfcafd1f12d0c9958c12f844309d7e30 (diff) | |
| download | bcm5719-llvm-e498b25bc5c1f009be17fc5241b9c4f9dadac5d9.tar.gz bcm5719-llvm-e498b25bc5c1f009be17fc5241b9c4f9dadac5d9.zip | |
Correct indentation for dumping LexicalScope.
llvm-svn: 174237
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/LexicalScopes.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/include/llvm/CodeGen/LexicalScopes.h b/llvm/include/llvm/CodeGen/LexicalScopes.h index 3cb6b4de2c7..ff65db4ee4c 100644 --- a/llvm/include/llvm/CodeGen/LexicalScopes.h +++ b/llvm/include/llvm/CodeGen/LexicalScopes.h @@ -159,9 +159,6 @@ public: LexicalScope(LexicalScope *P, const MDNode *D, const MDNode *I, bool A) : Parent(P), Desc(D), InlinedAtLocation(I), AbstractScope(A), LastInsn(0), FirstInsn(0), DFSIn(0), DFSOut(0) { -#ifndef NDEBUG - IndentLevel = 0; -#endif if (Parent) Parent->addChild(this); } @@ -228,7 +225,7 @@ public: void setDFSIn(unsigned I) { DFSIn = I; } /// dump - print lexical scope. - void dump() const; + void dump(unsigned Indent = 0) const; private: LexicalScope *Parent; // Parent to this scope. @@ -244,9 +241,6 @@ private: const MachineInstr *FirstInsn; // First instruction of this scope. unsigned DFSIn, DFSOut; // In & Out Depth use to determine // scope nesting. -#ifndef NDEBUG - mutable unsigned IndentLevel; // Private state for dump() -#endif }; } // end llvm namespace |

