Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 68a20cc0a6947bfdaff99613afc9b47477d462bd..879b515e84864cfbcf8e676acd48f94cc8e452f2 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -1297,12 +1297,8 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
__ cmp(r4, Operand(JS_ARRAY_TYPE)); |
__ b(eq, &array); |
// Check that the object is some kind of JSObject. |
- __ cmp(r4, Operand(FIRST_JS_RECEIVER_TYPE)); |
+ __ cmp(r4, Operand(FIRST_JS_OBJECT_TYPE)); |
__ b(lt, &slow); |
- __ cmp(r4, Operand(JS_PROXY_TYPE)); |
- __ b(eq, &slow); |
- __ cmp(r4, Operand(JS_FUNCTION_PROXY_TYPE)); |
- __ b(eq, &slow); |
// Object case: Check key against length in the elements array. |
__ ldr(elements, FieldMemOperand(receiver, JSObject::kElementsOffset)); |