| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 762fa2590274b3d118c7b34901ec980286a2474e..e1e3e48f9b5c1e847a6b650ea1ecdd88118cef8d 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -702,7 +702,6 @@ bool Object::IsJSProxy() const {
|
| }
|
|
|
|
|
| -TYPE_CHECKER(JSFunctionProxy, JS_FUNCTION_PROXY_TYPE)
|
| TYPE_CHECKER(JSSet, JS_SET_TYPE)
|
| TYPE_CHECKER(JSMap, JS_MAP_TYPE)
|
| TYPE_CHECKER(JSSetIterator, JS_SET_ITERATOR_TYPE)
|
| @@ -3222,7 +3221,6 @@ CAST_ACCESSOR(JSArrayBufferView)
|
| CAST_ACCESSOR(JSDataView)
|
| CAST_ACCESSOR(JSDate)
|
| CAST_ACCESSOR(JSFunction)
|
| -CAST_ACCESSOR(JSFunctionProxy)
|
| CAST_ACCESSOR(JSGeneratorObject)
|
| CAST_ACCESSOR(JSGlobalObject)
|
| CAST_ACCESSOR(JSGlobalProxy)
|
| @@ -4822,10 +4820,7 @@ bool Map::IsJSObjectMap() {
|
| bool Map::IsJSArrayMap() { return instance_type() == JS_ARRAY_TYPE; }
|
| bool Map::IsJSFunctionMap() { return instance_type() == JS_FUNCTION_TYPE; }
|
| bool Map::IsStringMap() { return instance_type() < FIRST_NONSTRING_TYPE; }
|
| -bool Map::IsJSProxyMap() {
|
| - InstanceType type = instance_type();
|
| - return FIRST_JS_PROXY_TYPE <= type && type <= LAST_JS_PROXY_TYPE;
|
| -}
|
| +bool Map::IsJSProxyMap() { return instance_type() == JS_PROXY_TYPE; }
|
| bool Map::IsJSGlobalProxyMap() {
|
| return instance_type() == JS_GLOBAL_PROXY_TYPE;
|
| }
|
| @@ -6342,10 +6337,6 @@ ACCESSORS(JSProxy, hash, Object, kHashOffset)
|
|
|
| bool JSProxy::IsRevoked() const { return !handler()->IsJSReceiver(); }
|
|
|
| -ACCESSORS(JSFunctionProxy, call_trap, JSReceiver, kCallTrapOffset)
|
| -ACCESSORS(JSFunctionProxy, construct_trap, Object, kConstructTrapOffset)
|
| -
|
| -
|
| ACCESSORS(JSCollection, table, Object, kTableOffset)
|
|
|
|
|
|
|