diff options
author | Chris Lattner <sabre@nondot.org> | 2007-10-31 04:53:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-10-31 04:53:03 +0000 |
commit | e03cd7b7c8dfcc2615fd6d53fffecd1c07c89fc6 (patch) | |
tree | 8b9b1db3ab708d78ba2287a1bb12e79b489a2051 /CodeGen/CodeGenModule.cpp | |
parent | 9165ad378f8d25eb5c378a8e9540089afce421ff (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/CodeGenModule.cpp')
-rw-r--r-- | CodeGen/CodeGenModule.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CodeGen/CodeGenModule.cpp b/CodeGen/CodeGenModule.cpp index 8bb4c2e51e..a596c08528 100644 --- a/CodeGen/CodeGenModule.cpp +++ b/CodeGen/CodeGenModule.cpp @@ -24,10 +24,8 @@ using namespace clang; using namespace CodeGen; -CodeGenModule::CodeGenModule(ASTContext &C, llvm::Module &M, - const llvm::TargetData &TD) - : Context(C), TheModule(M), TheTargetData(TD), - Types(C, M, TD), CFConstantStringClassRef(0) {} +CodeGenModule::CodeGenModule(ASTContext &C, llvm::Module &M) + : Context(C), TheModule(M), Types(C, M), CFConstantStringClassRef(0) {} llvm::Constant *CodeGenModule::GetAddrOfGlobalDecl(const ValueDecl *D) { // See if it is already in the map. |