Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: src/asmjs/asm-js.cc

Issue 2134333003: V8. ASM-2-WASM. Migrates asm-wasm-builder to the new asm-typer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixes build Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/asmjs/asm-typer.h » ('j') | src/asmjs/asm-types.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | src/asmjs/asm-typer.h » ('j') | src/asmjs/asm-types.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698