Index: src/wasm/ast-decoder.cc |
diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc |
index 0f192508ba7d47211f380a4a48c724693202638c..515c2d0da9ddfce4f27b04265e0e25f4d9d630c2 100644 |
--- a/src/wasm/ast-decoder.cc |
+++ b/src/wasm/ast-decoder.cc |
@@ -574,6 +574,8 @@ class WasmFullDecoder : public WasmDecoder { |
return builder_->Float32Constant(0); |
case kAstF64: |
return builder_->Float64Constant(0); |
+ case kAstS128: |
+ return builder_->DefaultS128Value(); |
default: |
UNREACHABLE(); |
return nullptr; |
@@ -620,6 +622,9 @@ class WasmFullDecoder : public WasmDecoder { |
case kLocalF64: |
type = kAstF64; |
break; |
+ case kLocalS128: |
+ type = kAstS128; |
+ break; |
default: |
error(pc_ - 1, "invalid local type"); |
return; |