Index: src/asmjs/asm-js.cc |
diff --git a/src/asmjs/asm-js.cc b/src/asmjs/asm-js.cc |
index 71a88a1ccdeca599de05f3eaef465264ecd87c9e..95253deedf0e876ce3cb7d75a32889eef4ebffa0 100644 |
--- a/src/asmjs/asm-js.cc |
+++ b/src/asmjs/asm-js.cc |
@@ -9,6 +9,7 @@ |
#include "src/asmjs/asm-typer.h" |
#include "src/asmjs/asm-wasm-builder.h" |
#include "src/assert-scope.h" |
+#include "src/compilation-info.h" |
#include "src/execution.h" |
#include "src/factory.h" |
#include "src/handles.h" |
@@ -160,13 +161,11 @@ bool IsStdlibMemberValid(i::Isolate* isolate, Handle<JSReceiver> stdlib, |
} // namespace |
-MaybeHandle<FixedArray> AsmJs::CompileAsmViaWasm(ParseInfo* info) { |
+MaybeHandle<FixedArray> AsmJs::CompileAsmViaWasm(CompilationInfo* info) { |
ErrorThrower thrower(info->isolate(), "Asm.js -> WebAssembly conversion"); |
base::ElapsedTimer asm_wasm_timer; |
asm_wasm_timer.Start(); |
- wasm::AsmWasmBuilder builder(info->isolate(), info->zone(), |
- info->ast_value_factory(), info->script(), |
- info->literal()); |
+ wasm::AsmWasmBuilder builder(info); |
Handle<FixedArray> foreign_globals; |
auto asm_wasm_result = builder.Run(&foreign_globals); |
if (!asm_wasm_result.success) { |