Index: src/wasm/function-body-decoder.cc |
diff --git a/src/wasm/function-body-decoder.cc b/src/wasm/function-body-decoder.cc |
index dc2f83b459d2cfc0966312661d5210a89a6f02cb..92a84ac27072fd7cf7a768bb2da26f4fe52ed41b 100644 |
--- a/src/wasm/function-body-decoder.cc |
+++ b/src/wasm/function-body-decoder.cc |
@@ -660,7 +660,13 @@ class WasmFullDecoder : public WasmDecoder { |
case kWasmF64: |
return builder_->Float64Constant(0); |
case kWasmS128: |
- return builder_->CreateS128Value(0); |
+ return builder_->Simd128Zero(); |
+ case kWasmS1x4: |
+ return builder_->Simd1x4Zero(); |
+ case kWasmS1x8: |
+ return builder_->Simd1x8Zero(); |
+ case kWasmS1x16: |
+ return builder_->Simd1x16Zero(); |
default: |
UNREACHABLE(); |
return nullptr; |