Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index c565fdbecb6e465b2d23c1830cd1c07e67d42be9..cca264aa3764f9851903de0afed7ac270ba0bf28 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12057,6 +12057,8 @@ bool CanSubclassHaveInobjectProperties(InstanceType instance_type) { |
case JS_DATE_TYPE: |
case JS_ARRAY_TYPE: |
case JS_MESSAGE_OBJECT_TYPE: |
+ case JS_TYPED_ARRAY_TYPE: |
+ case JS_DATA_VIEW_TYPE: |
case JS_SET_TYPE: |
case JS_MAP_TYPE: |
case JS_SET_ITERATOR_TYPE: |
@@ -12069,8 +12071,6 @@ bool CanSubclassHaveInobjectProperties(InstanceType instance_type) { |
case JS_FUNCTION_TYPE: |
return true; |
- case JS_TYPED_ARRAY_TYPE: |
- case JS_DATA_VIEW_TYPE: |
case JS_PROXY_TYPE: |
case JS_FUNCTION_PROXY_TYPE: |
case JS_ARRAY_BUFFER_TYPE: |