diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-31 13:45:49 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-31 13:45:49 +0000 |
commit | 1559127f6f487bbe4f123161e9a5d20556e59d87 (patch) | |
tree | 303678c05db72de7ef5b7542cdb08c74ccdac6f4 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | 9e74dd97b8092174214ce0885dca5b56c5b9eba7 (diff) | |
download | bcm5719-llvm-1559127f6f487bbe4f123161e9a5d20556e59d87.tar.gz bcm5719-llvm-1559127f6f487bbe4f123161e9a5d20556e59d87.zip |
Replace some instances of UniqueVector with SetVector, which is slightly cheaper.
No functionality change.
llvm-svn: 167116
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 20e232dfc85..61d9a51a527 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -21,9 +21,9 @@ #include "llvm/MC/MachineLocation.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/FoldingSet.h" +#include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/StringMap.h" -#include "llvm/ADT/UniqueVector.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/DebugLoc.h" @@ -231,7 +231,7 @@ class DwarfDebug { /// SectionMap - Provides a unique id per text section. /// - UniqueVector<const MCSection*> SectionMap; + SetVector<const MCSection*> SectionMap; /// CurrentFnArguments - List of Arguments (DbgValues) for current function. SmallVector<DbgVariable *, 8> CurrentFnArguments; |