aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/MRegisterInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/MRegisterInfo.cpp')
-rw-r--r--lib/Target/MRegisterInfo.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Target/MRegisterInfo.cpp b/lib/Target/MRegisterInfo.cpp
index c47bb45440..d52777da53 100644
--- a/lib/Target/MRegisterInfo.cpp
+++ b/lib/Target/MRegisterInfo.cpp
@@ -7,7 +7,8 @@
#include "llvm/Target/MRegisterInfo.h"
MRegisterInfo::MRegisterInfo(const MRegisterDesc *D, unsigned NR,
- regclass_iterator RCB, regclass_iterator RCE)
+ regclass_iterator RCB, regclass_iterator RCE,
+ int CFSO, int CFDO)
: Desc(D), NumRegs(NR), RegClassBegin(RCB), RegClassEnd(RCE) {
assert(NumRegs < FirstVirtualRegister &&
"Target has too many physical registers!");
@@ -24,6 +25,9 @@ MRegisterInfo::MRegisterInfo(const MRegisterDesc *D, unsigned NR,
"Register in more than one class?");
PhysRegClasses[(*I)->getRegister(i)] = *I;
}
+
+ CallFrameSetupOpcode = CFSO;
+ CallFrameDestroyOpcode = CFDO;
}