Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index a7c436d61b3353d07e74febc5827f11835fb6211..42fdff29ba693ae95cee858745583f506c04a9ec 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -834,8 +834,8 @@ void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) { |
// Is the string an array index, with cached numeric value? |
__ ldr(r3, FieldMemOperand(r0, String::kHashFieldOffset)); |
- __ tst(r3, Operand(String::kIsArrayIndexMask)); |
- __ b(ne, &index_string); |
+ __ tst(r3, Operand(String::kContainsCachedArrayIndexMask)); |
+ __ b(eq, &index_string); |
// Is the string a symbol? |
// r2: key map |