Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index 40aec7ad33d0fed98c4fac593a6140e71b97a64b..b162704cdeb27356541d91ebd55e43d998aaf490 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -848,9 +848,9 @@ MaybeHandle<WasmCompiledModule> WasmModule::CompileFunctions( |
// Initialize the indirect tables with placeholders. |
int function_table_count = static_cast<int>(function_tables.size()); |
Handle<FixedArray> function_tables = |
- factory->NewFixedArray(function_table_count); |
+ factory->NewFixedArray(function_table_count, TENURED); |
for (int i = 0; i < function_table_count; ++i) { |
- temp_instance.function_tables[i] = factory->NewFixedArray(0); |
+ temp_instance.function_tables[i] = factory->NewFixedArray(0, TENURED); |
function_tables->set(i, *temp_instance.function_tables[i]); |
} |