projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use StringRef instead of std::string.
[oota-llvm.git]
/
lib
/
MC
/
MCCodeGenInfo.cpp
diff --git
a/lib/MC/MCCodeGenInfo.cpp
b/lib/MC/MCCodeGenInfo.cpp
index 553cd9710d630fb561b08af52f71b64937aa899d..236e7de68a8a6245b48616d9ec1f273ff30322b3 100644
(file)
--- 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;
}