diff options
| author | Adrian Prantl <aprantl@apple.com> | 2015-01-22 16:55:20 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2015-01-22 16:55:20 +0000 |
| commit | 2585a98d383b7503884b13819ffee4917b5c4694 (patch) | |
| tree | c44bbaaf618fd5724efa7da584a9e01a53a4cea9 /llvm/lib/CodeGen | |
| parent | 438b250d8ae383ee53bf359fd65ec010dc121577 (diff) | |
| download | bcm5719-llvm-2585a98d383b7503884b13819ffee4917b5c4694.tar.gz bcm5719-llvm-2585a98d383b7503884b13819ffee4917b5c4694.zip | |
Rename DIExpressionIterator to DIExpression::iterator.
Addresses review feedback from Duncan.
llvm-svn: 226835
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp index d1b648ffabc..eb101ca2dcb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp @@ -242,9 +242,9 @@ bool DwarfExpression::AddMachineRegExpression(DIExpression Expr, return true; } -void DwarfExpression::AddExpression(DIExpressionIterator I, +void DwarfExpression::AddExpression(DIExpression::iterator I, unsigned PieceOffsetInBits) { - for (; I != DIExpressionIterator(); ++I) { + for (; I != DIExpression::iterator(); ++I) { switch (*I) { case dwarf::DW_OP_piece: { unsigned SizeOfByte = 8; diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h index 11db59eadb0..14e07fcdb98 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h @@ -96,7 +96,7 @@ public: /// Emit a the operations remaining the DIExpressionIterator I. /// \param PieceOffsetInBits If this is one piece out of a fragmented /// location, this is the offset of the piece inside the entire variable. - void AddExpression(DIExpressionIterator I, unsigned PieceOffsetInBits = 0); +void AddExpression(DIExpression::iterator I, unsigned PieceOffsetInBits = 0); }; /// DwarfExpression implementation for .debug_loc entries. |

