diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h | 2 | ||||
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 8 |
3 files changed, 7 insertions, 7 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. diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index f7892dd3497..da77c9bb6f9 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -162,12 +162,12 @@ uint64_t DIExpression::getPieceSize() const { return getElement(getNumElements()-1); } -DIExpressionIterator DIExpression::begin() const { - return DIExpressionIterator(*this); +DIExpression::iterator DIExpression::begin() const { + return DIExpression::iterator(*this); } -DIExpressionIterator DIExpression::end() const { - return DIExpressionIterator(); +DIExpression::iterator DIExpression::end() const { + return DIExpression::iterator(); } //===----------------------------------------------------------------------===// |