From 5087e267c259b564cd2ce93e43aacaa07083dec0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 31 Oct 2007 04:53:03 +0000 Subject: temporarily revert devang's patch to link in the llvm codegen etc. llvm-svn: 43544 --- clang/CodeGen/CodeGenModule.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clang/CodeGen/CodeGenModule.h') diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h index a044c0d02ee..4ca4f8c5506 100644 --- a/clang/CodeGen/CodeGenModule.h +++ b/clang/CodeGen/CodeGenModule.h @@ -23,7 +23,6 @@ namespace llvm { class Constant; class Function; class GlobalVariable; - class TargetData; } namespace clang { @@ -40,7 +39,6 @@ namespace CodeGen { class CodeGenModule { ASTContext &Context; llvm::Module &TheModule; - const llvm::TargetData &TheTargetData; CodeGenTypes Types; llvm::Function *MemCpyFn; @@ -51,7 +49,7 @@ class CodeGenModule { std::vector BuiltinFunctions; public: - CodeGenModule(ASTContext &C, llvm::Module &M, const llvm::TargetData &TD); + CodeGenModule(ASTContext &C, llvm::Module &M); ASTContext &getContext() const { return Context; } llvm::Module &getModule() const { return TheModule; } -- cgit v1.2.3