diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-26 18:55:14 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-26 18:55:14 +0000 |
commit | 30b2bdfa734d59bb7bc769dc2f06e4900a77f6f8 (patch) | |
tree | 7e00cb4e5e30bd4adf9e295196424d7767b080ba /lib/Target/ARM/Thumb1RegisterInfo.cpp | |
parent | 74fb545163e8f9f9f287b397254a82b4cfb2ff52 (diff) | |
download | external_llvm-30b2bdfa734d59bb7bc769dc2f06e4900a77f6f8.zip external_llvm-30b2bdfa734d59bb7bc769dc2f06e4900a77f6f8.tar.gz external_llvm-30b2bdfa734d59bb7bc769dc2f06e4900a77f6f8.tar.bz2 |
Refactor. Get rid of a few more getOpcode() calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/Thumb1RegisterInfo.cpp')
-rw-r--r-- | lib/Target/ARM/Thumb1RegisterInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/Thumb1RegisterInfo.cpp b/lib/Target/ARM/Thumb1RegisterInfo.cpp index bf721a5..17949bd 100644 --- a/lib/Target/ARM/Thumb1RegisterInfo.cpp +++ b/lib/Target/ARM/Thumb1RegisterInfo.cpp @@ -388,6 +388,7 @@ static void removeOperands(MachineInstr &MI, unsigned i) { int Thumb1RegisterInfo:: rewriteFrameIndex(MachineInstr &MI, unsigned FrameRegIdx, + unsigned MOVOpc, unsigned ADDriOpc, unsigned SUBriOpc, unsigned FrameReg, int Offset) const { // if/when eliminateFrameIndex() conforms with ARMBaseRegisterInfo |