diff options
author | Eric Christopher <echristo@gmail.com> | 2013-03-29 23:34:06 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-03-29 23:34:06 +0000 |
commit | 4887c8f4ffc4cbdaaa6e868d7c5755cdbd49fb58 (patch) | |
tree | 509691f4296bc4c046a2828335c0fd0a46ce7b6d /llvm/lib/CodeGen/AsmPrinter/DIE.cpp | |
parent | f36f15fc06a54b82d00644d2807862b8abfba42d (diff) | |
download | bcm5719-llvm-4887c8f4ffc4cbdaaa6e868d7c5755cdbd49fb58.tar.gz bcm5719-llvm-4887c8f4ffc4cbdaaa6e868d7c5755cdbd49fb58.zip |
Use SmallVectorImpl instead of SmallVector at the uses.
llvm-svn: 178386
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp index 0c5848d2966..57e0acda890 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp @@ -144,7 +144,7 @@ void DIE::print(raw_ostream &O, unsigned IncIndent) { O << "Size: " << Size << "\n"; } - const SmallVector<DIEAbbrevData, 12> &Data = Abbrev.getData(); + const SmallVectorImpl<DIEAbbrevData> &Data = Abbrev.getData(); IndentCount += 2; for (unsigned i = 0, N = Data.size(); i < N; ++i) { @@ -324,7 +324,7 @@ void DIEEntry::print(raw_ostream &O) { /// unsigned DIEBlock::ComputeSize(AsmPrinter *AP) { if (!Size) { - const SmallVector<DIEAbbrevData, 12> &AbbrevData = Abbrev.getData(); + const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); for (unsigned i = 0, N = Values.size(); i < N; ++i) Size += Values[i]->SizeOf(AP, AbbrevData[i].getForm()); } @@ -343,7 +343,7 @@ void DIEBlock::EmitValue(AsmPrinter *Asm, unsigned Form) const { case dwarf::DW_FORM_block: Asm->EmitULEB128(Size); break; } - const SmallVector<DIEAbbrevData, 12> &AbbrevData = Abbrev.getData(); + const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); for (unsigned i = 0, N = Values.size(); i < N; ++i) Values[i]->EmitValue(Asm, AbbrevData[i].getForm()); } |