MCParser: Modernize memory handling.
[oota-llvm.git] / lib / MC / MCCodeGenInfo.cpp
index 236e7de68a8a6245b48616d9ec1f273ff30322b3..d9dcfd0614bcb651f0416fc46833a3dca98ed4ca 100644 (file)
@@ -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;
 }