summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2013-04-16 22:48:20 +0000
committerJohn McCall <rjmccall@apple.com>2013-04-16 22:48:20 +0000
commit568d4100e717a9a6df163def887aca52a127806c (patch)
tree641d0c657a0d9a2d4b65eb29b25e006ecea05b97 /clang/lib/CodeGen/CodeGenModule.cpp
parentc8e01705787c984838a16e66e2f9af017f5602a5 (diff)
downloadbcm5719-llvm-568d4100e717a9a6df163def887aca52a127806c.tar.gz
bcm5719-llvm-568d4100e717a9a6df163def887aca52a127806c.zip
Don't propagate around TargetOptions in IR-gen; we don't use it.
Patch by Stephen Lin! llvm-svn: 179639
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 6c2578f3368..42be779afb1 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -35,7 +35,6 @@
#include "clang/Basic/Module.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
-#include "clang/Basic/TargetOptions.h"
#include "clang/Frontend/CodeGenOptions.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/Triple.h"
@@ -70,8 +69,7 @@ static CGCXXABI &createCXXABI(CodeGenModule &CGM) {
CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO,
- const TargetOptions &TO, llvm::Module &M,
- const llvm::DataLayout &TD,
+ llvm::Module &M, const llvm::DataLayout &TD,
DiagnosticsEngine &diags)
: Context(C), LangOpts(C.getLangOpts()), CodeGenOpts(CGO), TheModule(M),
Diags(diags), TheDataLayout(TD), Target(C.getTargetInfo()),
OpenPOWER on IntegriCloud