Use StringRef instead of std::string.
[oota-llvm.git] / lib / MC / MCCodeGenInfo.cpp
index 553cd9710d630fb561b08af52f71b64937aa899d..236e7de68a8a6245b48616d9ec1f273ff30322b3 100644 (file)
@@ -15,6 +15,7 @@
 #include "llvm/MC/MCCodeGenInfo.h"
 using namespace llvm;
 
-void MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM) {
+void MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM) {
   RelocationModel = RM;
+  CMModel = CM;
 }