Index: test/unittests/wasm/ast-decoder-unittest.cc |
diff --git a/test/unittests/wasm/ast-decoder-unittest.cc b/test/unittests/wasm/ast-decoder-unittest.cc |
index 95a791b9a61d44bea91a078dc38c8010a07195b9..306b28dfc358ce1a9f3d40c549dc892bc6dd7980 100644 |
--- a/test/unittests/wasm/ast-decoder-unittest.cc |
+++ b/test/unittests/wasm/ast-decoder-unittest.cc |
@@ -1037,7 +1037,7 @@ class TestModuleEnv : public ModuleEnv { |
linker = nullptr; |
} |
byte AddGlobal(MachineType mem_type) { |
- mod.globals.push_back({0, mem_type, 0, false}); |
+ mod.globals.push_back({0, 0, mem_type, 0, false}); |
CHECK(mod.globals.size() <= 127); |
return static_cast<byte>(mod.globals.size() - 1); |
} |