Index: src/wasm/module-decoder.cc |
diff --git a/src/wasm/module-decoder.cc b/src/wasm/module-decoder.cc |
index b7d38cef39aac4bcc04d6d2eff9e252abac6164d..056428639dc85be4a27c9ec26cca09d0e3a7d95f 100644 |
--- a/src/wasm/module-decoder.cc |
+++ b/src/wasm/module-decoder.cc |
@@ -272,8 +272,7 @@ class ModuleDecoder : public Decoder { |
pos = pc_; |
{ |
uint32_t magic_version = consume_u32("wasm version"); |
- if (magic_version != kWasmVersion && |
- magic_version != kWasmLegacyVersion) { |
+ if (magic_version != kWasmVersion) { |
error(pos, pos, |
"expected version %02x %02x %02x %02x, " |
"found %02x %02x %02x %02x", |