| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 6a99a5c5c04b4eff98a56bcebad387350e221167..e36e3002463e8c774a005453d5dc03bed4329766 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1428,7 +1428,7 @@ Handle<SharedFunctionInfo> Compiler::BuildFunctionInfo(
|
| result->set_is_toplevel(false);
|
|
|
| RecordFunctionCompilation(Logger::FUNCTION_TAG, &info, result);
|
| - result->set_allows_lazy_compilation(allow_lazy);
|
| + result->set_allows_lazy_compilation(literal->AllowsLazyCompilation());
|
| result->set_allows_lazy_compilation_without_context(allow_lazy_without_ctx);
|
|
|
| // Set the expected number of properties for instances and return
|
|
|