| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index 52eed686a9ad7675928cc9ca0c014e66134b6419..f0032058003eceec3852c91b00901d1b11eb28bd 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -4905,6 +4905,7 @@ bool Map::IsJSGlobalProxyMap() {
|
| bool Map::IsJSGlobalObjectMap() {
|
| return instance_type() == JS_GLOBAL_OBJECT_TYPE;
|
| }
|
| +bool Map::IsJSTypedArrayMap() { return instance_type() == JS_TYPED_ARRAY_TYPE; }
|
| bool Map::IsGlobalObjectMap() {
|
| const InstanceType type = instance_type();
|
| return type == JS_GLOBAL_OBJECT_TYPE || type == JS_BUILTINS_OBJECT_TYPE;
|
|
|