aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCCodeGenInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCCodeGenInfo.cpp')
-rw-r--r--lib/MC/MCCodeGenInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCCodeGenInfo.cpp b/lib/MC/MCCodeGenInfo.cpp
index 553cd9710d..236e7de68a 100644
--- a/lib/MC/MCCodeGenInfo.cpp
+++ b/lib/MC/MCCodeGenInfo.cpp
@@ -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;
}