Chromium Code Reviews| Index: src/asmjs/asm-js.cc |
| diff --git a/src/asmjs/asm-js.cc b/src/asmjs/asm-js.cc |
| index a6c499c7903eb4ad6d2af88c49ffd16e96773897..5a4a8a1609a1b2038b845434528ef5c299cb70db 100644 |
| --- a/src/asmjs/asm-js.cc |
| +++ b/src/asmjs/asm-js.cc |
| @@ -6,8 +6,8 @@ |
| #include "src/api-natives.h" |
| #include "src/api.h" |
| +#include "src/asmjs/asm-typer.h" |
| #include "src/asmjs/asm-wasm-builder.h" |
| -#include "src/asmjs/typing-asm.h" |
| #include "src/assert-scope.h" |
| #include "src/ast/ast.h" |
| #include "src/ast/scopes.h" |
| @@ -59,11 +59,10 @@ i::MaybeHandle<i::FixedArray> CompileModule( |
| MaybeHandle<FixedArray> AsmJs::ConvertAsmToWasm(ParseInfo* info) { |
| ErrorThrower thrower(info->isolate(), "Asm.js -> WebAssembly conversion"); |
| - AsmTyper typer(info->isolate(), info->zone(), *(info->script()), |
| - info->literal()); |
| - typer.set_fixed_signature(true); |
| + wasm::AsmTyper typer(info->isolate(), info->zone(), *(info->script()), |
| + info->literal()); |
| if (i::FLAG_enable_simd_asmjs) { |
|
bradnelson
2016/07/13 17:05:30
Just drop entirely.
John
2016/07/13 18:13:03
Done.
|
| - typer.set_allow_simd(true); |
| + // TODO(jpp): no support. |
| } |
| if (!typer.Validate()) { |
| DCHECK(!info->isolate()->has_pending_exception()); |