Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index 514015ab8596ba15f11ff68fe123ed868ed36b00..d52d8d5ca5fa44c94d7f3ed30c451bc286a3d297 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -624,12 +624,8 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
__ CmpInstanceType(rbx, JS_ARRAY_TYPE); |
__ j(equal, &array); |
// Check that the object is some kind of JSObject. |
- __ CmpInstanceType(rbx, FIRST_JS_RECEIVER_TYPE); |
+ __ CmpInstanceType(rbx, FIRST_JS_OBJECT_TYPE); |
__ j(below, &slow); |
- __ CmpInstanceType(rbx, JS_PROXY_TYPE); |
- __ j(equal, &slow); |
- __ CmpInstanceType(rbx, JS_FUNCTION_PROXY_TYPE); |
- __ j(equal, &slow); |
// Object case: Check key against length in the elements array. |
// rax: value |