diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-14 00:16:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-14 00:16:50 +0000 |
commit | 6ee31f5df844f0fd52db01605742afbe552cdf1b (patch) | |
tree | 39431865abd8bcc4858c52b371b12b27b9b463dd /clang/CodeGen/ModuleBuilder.cpp | |
parent | 027f21dd72af5a76a6112501ada3eb4435e65f92 (diff) | |
download | bcm5719-llvm-6ee31f5df844f0fd52db01605742afbe552cdf1b.tar.gz bcm5719-llvm-6ee31f5df844f0fd52db01605742afbe552cdf1b.zip |
In "int X,Y;", compile both X and Y.
llvm-svn: 39848
Diffstat (limited to 'clang/CodeGen/ModuleBuilder.cpp')
-rw-r--r-- | clang/CodeGen/ModuleBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/CodeGen/ModuleBuilder.cpp b/clang/CodeGen/ModuleBuilder.cpp index e525514df52..4a5a470563b 100644 --- a/clang/CodeGen/ModuleBuilder.cpp +++ b/clang/CodeGen/ModuleBuilder.cpp @@ -34,7 +34,7 @@ void clang::CodeGen::CodeGenFunction(BuilderTy *B, FunctionDecl *D) { /// CodeGenGlobalVar - Emit the specified global variable to LLVM. void clang::CodeGen::CodeGenGlobalVar(BuilderTy *Builder, FileVarDecl *D) { - static_cast<CodeGenModule*>(Builder)->EmitGlobalVar(D); + static_cast<CodeGenModule*>(Builder)->EmitGlobalVarDeclarator(D); } |