Index: test/cctest/wasm/test-run-wasm-module.cc |
diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc |
index 41978a0238f3863612f05aed6f345b1713695774..24b54c33f5207682012aef8aa4467b8d3c1261e7 100644 |
--- a/test/cctest/wasm/test-run-wasm-module.cc |
+++ b/test/cctest/wasm/test-run-wasm-module.cc |
@@ -156,8 +156,8 @@ TEST(Run_WasmModule_Global) { |
TestSignatures sigs; |
WasmModuleBuilder* builder = new (&zone) WasmModuleBuilder(&zone); |
- uint32_t global1 = builder->AddGlobal(MachineType::Int32(), 0); |
- uint32_t global2 = builder->AddGlobal(MachineType::Int32(), 0); |
+ uint32_t global1 = builder->AddGlobal(kAstI32, 0); |
+ uint32_t global2 = builder->AddGlobal(kAstI32, 0); |
uint16_t f1_index = builder->AddFunction(); |
WasmFunctionBuilder* f = builder->FunctionAt(f1_index); |
f->SetSignature(sigs.i_v()); |