EmulateShiftReg() also accepts shifter type of SRType_ROR.

llvm-svn: 132484
This commit is contained in:
Johnny Chen 2011-06-02 21:00:34 +00:00
parent e5feef0fe1
commit 8a742f5f37
1 changed files with 4 additions and 1 deletions

View File

@ -3198,7 +3198,10 @@ EmulateInstructionARM::EmulateShiftImm (const uint32_t opcode, const ARMEncoding
bool
EmulateInstructionARM::EmulateShiftReg (const uint32_t opcode, const ARMEncoding encoding, ARM_ShifterType shift_type)
{
assert(shift_type == SRType_ASR || shift_type == SRType_LSL || shift_type == SRType_LSR);
assert(shift_type == SRType_ASR
|| shift_type == SRType_LSL
|| shift_type == SRType_LSR
|| shift_type == SRType_ROR);
bool success = false;