diff options
| author | Caroline Tice <ctice@apple.com> | 2011-03-24 21:11:26 +0000 | 
|---|---|---|
| committer | Caroline Tice <ctice@apple.com> | 2011-03-24 21:11:26 +0000 | 
| commit | 466327d604c4fedb7bde059aa0a4053d766428fe (patch) | |
| tree | 35984bf5f2dd0c50e3af2635b9a486861e1a76c7 /lldb/source/Plugins/Process/Utility/ARMUtils.h | |
| parent | f170f8bff68556e14e3ab3ea51eef07fe90113ca (diff) | |
| download | bcm5719-llvm-466327d604c4fedb7bde059aa0a4053d766428fe.tar.gz bcm5719-llvm-466327d604c4fedb7bde059aa0a4053d766428fe.zip  | |
Fix small bug in ThumbExpandImm_C; arguments to a call to 'bits' were
in the wrong order.
llvm-svn: 128237
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/ARMUtils.h')
| -rw-r--r-- | lldb/source/Plugins/Process/Utility/ARMUtils.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/ARMUtils.h b/lldb/source/Plugins/Process/Utility/ARMUtils.h index 7b614d876ad..71ee03afe99 100644 --- a/lldb/source/Plugins/Process/Utility/ARMUtils.h +++ b/lldb/source/Plugins/Process/Utility/ARMUtils.h @@ -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;  | 

