summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430InstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-06-28 21:14:33 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-06-28 21:14:33 +0000
commitd5b03f252c0db6b49a242abab63d7c5a260fceae (patch)
treee1d2f2300d779a666b0942e9ac69d33764c6d6d4 /lib/Target/MSP430/MSP430InstrInfo.cpp
parent6844f7bcdec8c2691c8d1067d90e4a02cf658c27 (diff)
downloadllvm-d5b03f252c0db6b49a242abab63d7c5a260fceae.tar.gz
llvm-d5b03f252c0db6b49a242abab63d7c5a260fceae.tar.bz2
llvm-d5b03f252c0db6b49a242abab63d7c5a260fceae.tar.xz
Move CallFrameSetupOpcode and CallFrameDestroyOpcode to TargetInstrInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430InstrInfo.cpp')
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430InstrInfo.cpp b/lib/Target/MSP430/MSP430InstrInfo.cpp
index b883f46dc6..bf201b0156 100644
--- a/lib/Target/MSP430/MSP430InstrInfo.cpp
+++ b/lib/Target/MSP430/MSP430InstrInfo.cpp
@@ -28,7 +28,8 @@
using namespace llvm;
MSP430InstrInfo::MSP430InstrInfo(MSP430TargetMachine &tm)
- : TargetInstrInfoImpl(MSP430Insts, array_lengthof(MSP430Insts)),
+ : TargetInstrInfoImpl(MSP430Insts, array_lengthof(MSP430Insts),
+ MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP),
RI(tm, *this), TM(tm) {}
void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,