| Index: src/asmjs/asm-wasm-builder.cc
|
| diff --git a/src/asmjs/asm-wasm-builder.cc b/src/asmjs/asm-wasm-builder.cc
|
| index 4996203ce2bba91cb888cb44c2a59f14b38e9b59..21d757276a7e58a670e17206e5fc715342e7d323 100644
|
| --- a/src/asmjs/asm-wasm-builder.cc
|
| +++ b/src/asmjs/asm-wasm-builder.cc
|
| @@ -140,8 +140,8 @@ class AsmWasmBuilderImpl final : public AstVisitor<AsmWasmBuilderImpl> {
|
| if (decl->fun()->body() == nullptr) {
|
| // TODO(titzer/bradnelson): Reuse SharedFunctionInfos used here when
|
| // compiling the wasm module.
|
| - Handle<SharedFunctionInfo> shared = Compiler::GetSharedFunctionInfo(
|
| - decl->fun(), script_, info_, LazyCompilationMode::kAlways);
|
| + Handle<SharedFunctionInfo> shared =
|
| + Compiler::GetSharedFunctionInfo(decl->fun(), script_, info_);
|
| shared->set_is_toplevel(false);
|
| ParseInfo info(&zone, script_);
|
| info.set_shared_info(shared);
|
|
|