| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index d728ecee880c2e88b095499eaa00c8690adfac8e..f6d0611de5b53bd9cc4f7b1dd23dbd99ced3e1ae 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1455,8 +1455,7 @@ MaybeHandle<JSFunction> Compiler::GetFunctionFromEval(
|
| shared_info, context, vector, NOT_TENURED);
|
| } else {
|
| result = isolate->factory()->NewFunctionFromSharedFunctionInfo(
|
| - shared_info, context, isolate->factory()->undefined_cell(),
|
| - NOT_TENURED);
|
| + shared_info, context, NOT_TENURED);
|
| JSFunction::EnsureLiterals(result);
|
| // Make sure to cache this result.
|
| Handle<Cell> new_vector(result->feedback_vector_cell(), isolate);
|
|
|