OSDN Git Service

ART: Fix typo
authorAndreas Gampe <agampe@google.com>
Tue, 30 Sep 2014 15:39:37 +0000 (08:39 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 30 Sep 2014 15:39:37 +0000 (08:39 -0700)
Fixes a miss-translation in the pedantic change.

Change-Id: Ibdce896bf3667e06f10d60f160803451096b08ba

compiler/utils/arm/assembler_thumb2.cc

index 7427721..7968a77 100644 (file)
@@ -740,7 +740,7 @@ void Thumb2Assembler::Emit32BitDataProcessing(Condition cond,
     case SUB: thumb_opcode = 13U /* 0b1101 */; break;
     case RSB: thumb_opcode = 14U /* 0b1110 */; break;
     case ADD: thumb_opcode =  8U /* 0b1000 */; break;
-    case ADC: thumb_opcode = 12U /* 0b1010 */; break;
+    case ADC: thumb_opcode = 10U /* 0b1010 */; break;
     case SBC: thumb_opcode = 11U /* 0b1011 */; break;
     case RSC: break;
     case TST: thumb_opcode =  0U /* 0b0000 */; set_cc = true; rd = PC; break;