Index: src/wasm/function-body-decoder.cc |
diff --git a/src/wasm/function-body-decoder.cc b/src/wasm/function-body-decoder.cc |
index 3311caa3e233574499818fea8c6609815af3b937..dc2f83b459d2cfc0966312661d5210a89a6f02cb 100644 |
--- a/src/wasm/function-body-decoder.cc |
+++ b/src/wasm/function-body-decoder.cc |
@@ -215,6 +215,15 @@ class WasmDecoder : public Decoder { |
case kLocalS128: |
type = kWasmS128; |
break; |
+ case kLocalS1x4: |
+ type = kWasmS1x4; |
+ break; |
+ case kLocalS1x8: |
+ type = kWasmS1x8; |
+ break; |
+ case kLocalS1x16: |
+ type = kWasmS1x16; |
+ break; |
default: |
decoder->error(decoder->pc() - 1, "invalid local type"); |
return false; |