Index: test/cctest/wasm/test-wasm-function-name-table.cc |
diff --git a/test/cctest/wasm/test-wasm-function-name-table.cc b/test/cctest/wasm/test-wasm-function-name-table.cc |
index 1ae78dcb4e6d8322dc1efb06861bb1e92d49b537..9a4394204bf9f52d9650c8c8ec0a0ab90395dbe1 100644 |
--- a/test/cctest/wasm/test-wasm-function-name-table.cc |
+++ b/test/cctest/wasm/test-wasm-function-name-table.cc |
@@ -41,9 +41,9 @@ void testFunctionNameTable(Vector<Vector<const char>> names) { |
name.start() + name.length()); |
// Make every second function name null-terminated. |
if (func_index % 2) all_names.push_back('\0'); |
- module.functions.push_back({nullptr, 0, 0, |
- static_cast<uint32_t>(name_offset), |
- static_cast<uint32_t>(name.length()), 0, 0}); |
+ module.functions.push_back( |
+ {nullptr, 0, 0, static_cast<uint32_t>(name_offset), |
+ static_cast<uint32_t>(name.length()), 0, 0, false, false}); |
++func_index; |
} |