aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-06 05:08:19 +0000
committerChris Lattner <sabre@nondot.org>2008-02-06 05:08:19 +0000
commitc5b8806cda286cf41866176ef98011fdaa68da01 (patch)
treef196dd8e2f678dddc4c34878db50dc360fc1258d /CodeGen/ModuleBuilder.cpp
parent352ffde2f04183083fc00427df81d1b25f8c750c (diff)
sink more of the type related code into CodeGenTypes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/ModuleBuilder.cpp')
-rw-r--r--CodeGen/ModuleBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CodeGen/ModuleBuilder.cpp b/CodeGen/ModuleBuilder.cpp
index 8d3207a19c..50d6fedadd 100644
--- a/CodeGen/ModuleBuilder.cpp
+++ b/CodeGen/ModuleBuilder.cpp
@@ -81,7 +81,7 @@ namespace {
/// hack on the type, which can occur at any point in the file (because these
/// can be defined in declspecs).
virtual void HandleTagDeclDefinition(TagDecl *D) {
- Builder->EmitType(D);
+ Builder->UpdateCompletedType(D);
}
};