aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/MBlaze/Disassembler
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-25 22:16:37 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-25 22:16:37 +0000
commit617793d1d6fa28eb47d4fc04d265a6eace6c758c (patch)
tree47c30d326137de66c12ded54c72e2aba396fe0ba /lib/Target/MBlaze/Disassembler
parentf16f3476a2faf2bab03ad54eedaf255b49207392 (diff)
Refactoring fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze/Disassembler')
-rw-r--r--lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp
index 7c15d7650c..309bda1d64 100644
--- a/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp
+++ b/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp
@@ -62,19 +62,19 @@ static unsigned mblazeBinary2Opcode[] = {
static unsigned getRD(uint32_t insn) {
if (!isMBlazeRegister((insn>>21)&0x1F))
return UNSUPPORTED;
- return getMBlazeRegisterNumbering((insn>>21)&0x1F);
+ return getMBlazeRegisterFromNumbering((insn>>21)&0x1F);
}
static unsigned getRA(uint32_t insn) {
- if (!getMBlazeRegisterNumbering((insn>>16)&0x1F))
+ if (!getMBlazeRegisterFromNumbering((insn>>16)&0x1F))
return UNSUPPORTED;
- return getMBlazeRegisterNumbering((insn>>16)&0x1F);
+ return getMBlazeRegisterFromNumbering((insn>>16)&0x1F);
}
static unsigned getRB(uint32_t insn) {
- if (!getMBlazeRegisterNumbering((insn>>11)&0x1F))
+ if (!getMBlazeRegisterFromNumbering((insn>>11)&0x1F))
return UNSUPPORTED;
- return getMBlazeRegisterNumbering((insn>>11)&0x1F);
+ return getMBlazeRegisterFromNumbering((insn>>11)&0x1F);
}
static int64_t getRS(uint32_t insn) {