Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index e3d27f11cf5e4d8d54da5c715ebcd6d3bb3a36ae..3350c56c163762f4464dabd0e153685116b6e973 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -102,12 +102,7 @@ static void ProbeTable(Isolate* isolate, |
uint32_t mask = Code::kFlagsNotUsedInLookup; |
ASSERT(__ ImmediateFitsAddrMode1Instruction(mask)); |
__ bic(flags_reg, flags_reg, Operand(mask)); |
- // Using cmn and the negative instead of cmp means we can use movw. |
- if (flags < 0) { |
- __ cmn(flags_reg, Operand(-flags)); |
- } else { |
- __ cmp(flags_reg, Operand(flags)); |
- } |
+ __ cmp(flags_reg, Operand(flags)); |
__ b(ne, &miss); |
#ifdef DEBUG |