diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-06-21 18:54:39 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-06-21 18:54:39 +0000 |
commit | 08d4792bb5d9e0e7f122c6273636807029c06aaa (patch) | |
tree | 4fe9231ce013ea6642b11b2ec76c35c8d009468a /lib/CodeGen/CodeGenTypes.cpp | |
parent | 06269424e7a1a9fc2574abe26db9dc6621fcf3d7 (diff) |
IRgen: Add CGOptions to CGTypes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp index 4c1ae9b66d..7826e6e780 100644 --- a/lib/CodeGen/CodeGenTypes.cpp +++ b/lib/CodeGen/CodeGenTypes.cpp @@ -28,9 +28,9 @@ using namespace CodeGen; CodeGenTypes::CodeGenTypes(ASTContext &Ctx, llvm::Module& M, const llvm::TargetData &TD, const ABIInfo &Info, - CGCXXABI &CXXABI) + CGCXXABI &CXXABI, const CodeGenOptions &CGO) : Context(Ctx), Target(Ctx.Target), TheModule(M), TheTargetData(TD), - TheABIInfo(Info), TheCXXABI(CXXABI) { + TheABIInfo(Info), TheCXXABI(CXXABI), CodeGenOpts(CGO) { } CodeGenTypes::~CodeGenTypes() { |