summaryrefslogtreecommitdiffstats
path: root/lib/MC/MCCodeGenInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCCodeGenInfo.cpp')
-rw-r--r--lib/MC/MCCodeGenInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/MC/MCCodeGenInfo.cpp b/lib/MC/MCCodeGenInfo.cpp
index 236e7de..d9dcfd0 100644
--- a/lib/MC/MCCodeGenInfo.cpp
+++ b/lib/MC/MCCodeGenInfo.cpp
@@ -15,7 +15,9 @@
#include "llvm/MC/MCCodeGenInfo.h"
using namespace llvm;
-void MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM) {
+void MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM,
+ CodeGenOpt::Level OL) {
RelocationModel = RM;
CMModel = CM;
+ OptLevel = OL;
}
OpenPOWER on IntegriCloud