Index: test/cctest/wasm/wasm-run-utils.h |
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
index 4045356ff63def74cc5418c36277556c558d80ce..d63586042adddbda5c43a1239b47fca7c7466516 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -223,12 +223,10 @@ |
void AddIndirectFunctionTable(uint16_t* function_indexes, |
uint32_t table_size) { |
- module_.function_tables.push_back({table_size, table_size, true, |
+ module_.function_tables.push_back({table_size, table_size, |
std::vector<int32_t>(), false, false, |
SignatureMap()}); |
WasmIndirectFunctionTable& table = module_.function_tables.back(); |
- table.min_size = table_size; |
- table.max_size = table_size; |
for (uint32_t i = 0; i < table_size; ++i) { |
table.values.push_back(function_indexes[i]); |
table.map.FindOrInsert(module_.functions[function_indexes[i]].sig); |