Don't propagate around TargetOptions in IR-gen; we don't use it.
Patch by Stephen Lin! llvm-svn: 179639
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user