Index: src/wasm/wasm-js.cc |
diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc |
index d85e3da412f9d559de8e277cb6864d5da1b3771f..b1ff15babc33ffe3c307a0a1011db0867f964b0f 100644 |
--- a/src/wasm/wasm-js.cc |
+++ b/src/wasm/wasm-js.cc |
@@ -149,11 +149,8 @@ v8::internal::wasm::ZoneBuffer* TranslateAsmModule( |
info->set_literal( |
info->scope()->declarations()->at(0)->AsFunctionDeclaration()->fun()); |
- v8::internal::AsmTyper typer(info->isolate(), info->zone(), *(info->script()), |
- info->literal()); |
- if (i::FLAG_enable_simd_asmjs) { |
- typer.set_allow_simd(true); |
- } |
+ v8::internal::wasm::AsmTyper typer(info->isolate(), info->zone(), |
+ *(info->script()), info->literal()); |
if (!typer.Validate()) { |
thrower->Error("Asm.js validation failed: %s", typer.error_message()); |
return nullptr; |