summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-25 06:18:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-25 06:18:57 +0000
commiteb99810502e85b357869ef7af013b8d30f85b0ef (patch)
tree670289a44ccd753426ce53d47d0c36fb697dcb57 /clang/lib/CodeGen/CodeGenModule.h
parentc61d0e9ee9eaa21b56eca4499781b22da05ed873 (diff)
downloadbcm5719-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.h3
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
OpenPOWER on IntegriCloud