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

Unified Diff: src/wasm/wasm-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
Index: src/wasm/wasm-js.cc
diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc
index d85e3da412f9d559de8e277cb6864d5da1b3771f..d12bdc9eaeb4eeb30c87174a5666ac5b5002c54f 100644
--- a/src/wasm/wasm-js.cc
+++ b/src/wasm/wasm-js.cc
@@ -149,10 +149,10 @@ 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());
+ v8::internal::wasm::AsmTyper typer(info->isolate(), info->zone(),
+ *(info->script()), info->literal());
if (i::FLAG_enable_simd_asmjs) {
- typer.set_allow_simd(true);
+ // TODO(jpp): no support.
bradnelson 2016/07/13 17:05:30 Just drop it.
John 2016/07/13 18:13:03 Done.
}
if (!typer.Validate()) {
thrower->Error("Asm.js validation failed: %s", typer.error_message());

Powered by Google App Engine
This is Rietveld 408576698