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 8606d4c6b46328e7c1c66cc8de92957300360ec0..386dbc3091738714c7118d2116f202f4bb3cd7ea 100644 |
--- a/test/unittests/wasm/ast-decoder-unittest.cc |
+++ b/test/unittests/wasm/ast-decoder-unittest.cc |
@@ -1283,7 +1283,7 @@ |
module = &mod; |
} |
byte AddGlobal(LocalType type, bool mutability = true) { |
- mod.globals.push_back({type, mutability, WasmInitExpr(), 0, false, false}); |
+ mod.globals.push_back({type, mutability, NO_INIT, 0, false, false}); |
CHECK(mod.globals.size() <= 127); |
return static_cast<byte>(mod.globals.size() - 1); |
} |