aboutsummaryrefslogtreecommitdiff
path: root/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
commit90db88249ac92e6ed515065048a4ead4467e6639 (patch)
tree6943e882ffe31a9b7cf207828631f1e1333017b0 /lib/CodeGen/CodeGenModule.h
parent242d4dce3ab9a649866066b44c5a32cd2c09b6b8 (diff)
Use DenseMap on IdentifierInfo instead of StringMap.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index e77e6ebf3b..7501fd461e 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/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