aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-31 04:53:03 +0000
committerChris Lattner <sabre@nondot.org>2007-10-31 04:53:03 +0000
commite03cd7b7c8dfcc2615fd6d53fffecd1c07c89fc6 (patch)
tree8b9b1db3ab708d78ba2287a1bb12e79b489a2051 /CodeGen/ModuleBuilder.cpp
parent9165ad378f8d25eb5c378a8e9540089afce421ff (diff)
temporarily revert devang's patch to link in the llvm codegen etc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/ModuleBuilder.cpp')
-rw-r--r--CodeGen/ModuleBuilder.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/CodeGen/ModuleBuilder.cpp b/CodeGen/ModuleBuilder.cpp
index a7586b64c2..4a5a470563 100644
--- a/CodeGen/ModuleBuilder.cpp
+++ b/CodeGen/ModuleBuilder.cpp
@@ -18,9 +18,8 @@ using namespace clang;
/// Init - Create an ModuleBuilder with the specified ASTContext.
clang::CodeGen::BuilderTy *
-clang::CodeGen::Init(ASTContext &Context, llvm::Module &M,
- const llvm::TargetData &TD) {
- return new CodeGenModule(Context, M, TD);
+clang::CodeGen::Init(ASTContext &Context, llvm::Module &M) {
+ return new CodeGenModule(Context, M);
}
void clang::CodeGen::Terminate(BuilderTy *B) {