| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 6c9814a496bd1c7b7dc0d8420f60ffa9156b4905..18759efdca75df5019240fe99826429b1e73a08d 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -3689,6 +3689,10 @@ AllocationResult Heap::CopyJSObject(JSObject* source, AllocationSite* site) {
|
| map->instance_type() == JS_ERROR_TYPE ||
|
| map->instance_type() == JS_ARRAY_TYPE ||
|
| map->instance_type() == JS_API_OBJECT_TYPE ||
|
| + map->instance_type() == WASM_INSTANCE_TYPE ||
|
| + map->instance_type() == WASM_MEMORY_TYPE ||
|
| + map->instance_type() == WASM_MODULE_TYPE ||
|
| + map->instance_type() == WASM_TABLE_TYPE ||
|
| map->instance_type() == JS_SPECIAL_API_OBJECT_TYPE);
|
|
|
| int object_size = map->instance_size();
|
|
|