Move MCObjectSymbolizer.h to MC/MCAnalysis.
[oota-llvm.git] / lib / MC / MCCodeGenInfo.cpp
index 553cd9710d630fb561b08af52f71b64937aa899d..d9dcfd0614bcb651f0416fc46833a3dca98ed4ca 100644 (file)
@@ -15,6 +15,9 @@
 #include "llvm/MC/MCCodeGenInfo.h"
 using namespace llvm;
 
-void MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM) {
+void MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM,
+                                      CodeGenOpt::Level OL) {
   RelocationModel = RM;
+  CMModel = CM;
+  OptLevel = OL;
 }