aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-22 21:47:11 +0000
committerChris Lattner <sabre@nondot.org>2009-03-22 21:47:11 +0000
commitbd53271dc7570b54f7b7cab7b09bcf04c6e927f6 (patch)
treee17fbaa34c50bee0a50704f02d017d3778d061d0 /lib/CodeGen/CodeGenModule.h
parent35f6c136dd5201b87831dcdacc1eb4d2c2de0744 (diff)
emit aliases as the definitions fly by, don't bother deferring until
the end of the module. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index bea2d15c40..fdf5775170 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -104,11 +104,6 @@ class CodeGenModule : public BlockModule {
/// has one).
llvm::StringSet<> MangledNames;
- /// Aliases - List of aliases in module. These cannot be emitted until all the
- /// code has been seen, as they reference things by name instead of directly
- /// and may reference forward.
- std::vector<const ValueDecl*> Aliases;
-
/// DeferredDecls - This contains all the decls which have definitions but
/// which are deferred for emission and therefore should only be output if
/// they are actually used. If a decl is in this, then it is known to have
@@ -331,6 +326,7 @@ private:
void EmitGlobalFunctionDefinition(const FunctionDecl *D);
void EmitGlobalVarDefinition(const VarDecl *D);
+ void EmitAliasDefinition(const ValueDecl *D);
void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D);
// FIXME: Hardcoding priority here is gross.
@@ -342,7 +338,6 @@ private:
/// suitable for use as a LLVM constructor or destructor array.
void EmitCtorList(const CtorList &Fns, const char *GlobalName);
- void EmitAliases(void);
void EmitAnnotations(void);
/// EmitDeferred - Emit any needed decls for which code generation