Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 00bd2c18bc6035777310a8252fa8b3f0e7ac178e..8e61d0981837d7f1e1b6f19a7f994bd5b07d8cb1 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -11848,50 +11848,52 @@ namespace { |
bool CanSubclassHaveInobjectProperties(InstanceType instance_type) { |
switch (instance_type) { |
- case JS_OBJECT_TYPE: |
- case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
- case JS_GENERATOR_OBJECT_TYPE: |
- case JS_MODULE_TYPE: |
- case JS_VALUE_TYPE: |
- case JS_DATE_TYPE: |
- case JS_ARRAY_TYPE: |
- case JS_MESSAGE_OBJECT_TYPE: |
+ case JS_API_OBJECT_TYPE: |
case JS_ARRAY_BUFFER_TYPE: |
- case JS_TYPED_ARRAY_TYPE: |
+ case JS_ARRAY_TYPE: |
+ case JS_CONTEXT_EXTENSION_OBJECT_TYPE: |
case JS_DATA_VIEW_TYPE: |
- case JS_SET_TYPE: |
+ case JS_DATE_TYPE: |
+ case JS_FUNCTION_TYPE: |
+ case JS_GENERATOR_OBJECT_TYPE: |
+ case JS_MAP_ITERATOR_TYPE: |
case JS_MAP_TYPE: |
+ case JS_MESSAGE_OBJECT_TYPE: |
+ case JS_MODULE_TYPE: |
+ case JS_OBJECT_TYPE: |
+ case JS_PROMISE_TYPE: |
+ case JS_REGEXP_TYPE: |
case JS_SET_ITERATOR_TYPE: |
- case JS_MAP_ITERATOR_TYPE: |
+ case JS_SET_TYPE: |
+ case JS_SPECIAL_API_OBJECT_TYPE: |
+ case JS_TYPED_ARRAY_TYPE: |
+ case JS_VALUE_TYPE: |
case JS_WEAK_MAP_TYPE: |
case JS_WEAK_SET_TYPE: |
- case JS_PROMISE_TYPE: |
- case JS_REGEXP_TYPE: |
- case JS_FUNCTION_TYPE: |
return true; |
- case JS_BOUND_FUNCTION_TYPE: |
- case JS_PROXY_TYPE: |
- case JS_GLOBAL_PROXY_TYPE: |
- case JS_GLOBAL_OBJECT_TYPE: |
+ case BYTECODE_ARRAY_TYPE: |
+ case BYTE_ARRAY_TYPE: |
+ case CELL_TYPE: |
+ case CODE_TYPE: |
+ case FILLER_TYPE: |
case FIXED_ARRAY_TYPE: |
case FIXED_DOUBLE_ARRAY_TYPE: |
- case ODDBALL_TYPE: |
case FOREIGN_TYPE: |
- case MAP_TYPE: |
- case CODE_TYPE: |
- case CELL_TYPE: |
- case PROPERTY_CELL_TYPE: |
- case WEAK_CELL_TYPE: |
- case SYMBOL_TYPE: |
- case BYTECODE_ARRAY_TYPE: |
+ case FREE_SPACE_TYPE: |
case HEAP_NUMBER_TYPE: |
+ case JS_BOUND_FUNCTION_TYPE: |
+ case JS_GLOBAL_OBJECT_TYPE: |
+ case JS_GLOBAL_PROXY_TYPE: |
+ case JS_PROXY_TYPE: |
+ case MAP_TYPE: |
case MUTABLE_HEAP_NUMBER_TYPE: |
- case SIMD128_VALUE_TYPE: |
- case FILLER_TYPE: |
- case BYTE_ARRAY_TYPE: |
- case FREE_SPACE_TYPE: |
+ case ODDBALL_TYPE: |
+ case PROPERTY_CELL_TYPE: |
case SHARED_FUNCTION_INFO_TYPE: |
+ case SIMD128_VALUE_TYPE: |
+ case SYMBOL_TYPE: |
+ case WEAK_CELL_TYPE: |
#define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size) \ |
case FIXED_##TYPE##_ARRAY_TYPE: |