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 3a8b2278ec7e381fc6ea41544058e641130e56e0..93fcb89dba25fd835201aaa6ecc37c9fdfa11550 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -268,7 +268,7 @@ |
byte size = WasmOpcodes::MemSize(WasmOpcodes::MachineTypeFor(type)); |
global_offset = (global_offset + size - 1) & ~(size - 1); // align |
module_.globals.push_back( |
- {type, true, WasmInitExpr(), global_offset, false, false}); |
+ {type, true, NO_INIT, global_offset, false, false}); |
global_offset += size; |
// limit number of globals. |
CHECK_LT(global_offset, kMaxGlobalsSize); |