summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreInstrInfo.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/XCore/XCoreInstrInfo.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/XCore/XCoreInstrInfo.cpp')
-rw-r--r--lib/Target/XCore/XCoreInstrInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.cpp b/lib/Target/XCore/XCoreInstrInfo.cpp
index 97a1d52be8..cb545202ed 100644
--- a/lib/Target/XCore/XCoreInstrInfo.cpp
+++ b/lib/Target/XCore/XCoreInstrInfo.cpp
@@ -40,7 +40,8 @@ namespace XCore {
using namespace llvm;
XCoreInstrInfo::XCoreInstrInfo()
- : TargetInstrInfoImpl(XCoreInsts, array_lengthof(XCoreInsts)),
+ : TargetInstrInfoImpl(XCoreInsts, array_lengthof(XCoreInsts),
+ XCore::ADJCALLSTACKDOWN, XCore::ADJCALLSTACKUP),
RI(*this) {
}