diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-08-25 06:18:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-08-25 06:18:57 +0000 |
commit | eb99810502e85b357869ef7af013b8d30f85b0ef (patch) | |
tree | 670289a44ccd753426ce53d47d0c36fb697dcb57 /clang/lib/CodeGen/CodeGenModule.h | |
parent | c61d0e9ee9eaa21b56eca4499781b22da05ed873 (diff) | |
download | bcm5719-llvm-eb99810502e85b357869ef7af013b8d30f85b0ef.tar.gz bcm5719-llvm-eb99810502e85b357869ef7af013b8d30f85b0ef.zip |
Use DenseMap on IdentifierInfo instead of StringMap.
llvm-svn: 55303
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index e77e6ebf3b4..7501fd461e6 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -31,6 +31,7 @@ namespace llvm { namespace clang { class ASTContext; class FunctionDecl; + class IdentifierInfo; class ObjCMethodDecl; class ObjCImplementationDecl; class ObjCCategoryImplDecl; @@ -76,7 +77,7 @@ class CodeGenModule { /// decl, they should be bitcasted on retrieval. Also note that the /// globals are keyed on their source name, not the global name /// (which may change with attributes such as asm-labels). - llvm::StringMap<llvm::GlobalValue*> GlobalDeclMap; + llvm::DenseMap<IdentifierInfo*, llvm::GlobalValue*> GlobalDeclMap; /// List of static global for which code generation is delayed. When /// the translation unit has been fully processed we will lazily |