| Index: src/asmjs/asm-wasm-builder.cc
|
| diff --git a/src/asmjs/asm-wasm-builder.cc b/src/asmjs/asm-wasm-builder.cc
|
| index 787b8981e8c67947f563308d08551ba36ff6bc52..917de8b32349df2f7b64d582630bf800b96ac4c2 100644
|
| --- a/src/asmjs/asm-wasm-builder.cc
|
| +++ b/src/asmjs/asm-wasm-builder.cc
|
| @@ -145,8 +145,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);
|
|
|