Fix small bug in ThumbExpandImm_C; arguments to a call to 'bits' were

in the wrong order.

llvm-svn: 128237
This commit is contained in:
Caroline Tice 2011-03-24 21:11:26 +00:00
parent f170f8bff6
commit 466327d604
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ static inline uint32_t ThumbExpandImm_C(uint32_t opcode, uint32_t carry_in, uint
if (bits(imm12, 11, 10) == 0)
{
switch (bits(imm12, 8, 9)) {
switch (bits(imm12, 9, 8)) {
case 0:
imm32 = abcdefgh;
break;