diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-04-13 01:28:18 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-04-13 01:28:18 +0000 |
commit | 84083b74abc4a2d1a9013ce4c75d63ee7d6d1da3 (patch) | |
tree | 88b711c4cd324605e37200712ab5e263113f9e49 /lib/CodeGen/CodeGenModule.h | |
parent | 175c8e2e57befe2db15dd339ab5eb27d0c2b6013 (diff) |
Use MapVector rather than simulating it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index f8b09711f7..1eb0ebb624 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -307,10 +307,9 @@ class CodeGenModule : public CodeGenTypeCache { /// Map used to track internal linkage functions declared within /// extern "C" regions. - typedef llvm::DenseMap<IdentifierInfo *, - llvm::GlobalValue *> StaticExternCMap; + typedef llvm::MapVector<IdentifierInfo *, + llvm::GlobalValue *> StaticExternCMap; StaticExternCMap StaticExternCValues; - std::vector<IdentifierInfo*> StaticExternCIdents; /// CXXGlobalInits - Global variables with initializers that need to run /// before main. |