Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index 3c95356642b42a2d90c6a1ec1e9679e870bb1580..54b7aad0336e3dcd539c40258ca7fa3b1355bca3 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -752,12 +752,8 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
__ CmpInstanceType(edi, JS_ARRAY_TYPE); |
__ j(equal, &array); |
// Check that the object is some kind of JSObject. |
- __ CmpInstanceType(edi, FIRST_JS_RECEIVER_TYPE); |
+ __ CmpInstanceType(edi, FIRST_JS_OBJECT_TYPE); |
__ j(below, &slow); |
- __ CmpInstanceType(edi, JS_PROXY_TYPE); |
- __ j(equal, &slow); |
- __ CmpInstanceType(edi, JS_FUNCTION_PROXY_TYPE); |
- __ j(equal, &slow); |
// Object case: Check key against length in the elements array. |
// eax: value |