Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 7b685c939ecdd0df24ae6355da38a329bd46a29e..0bf2c7b6a621ff9a38c3714e992bd3745fe5f528 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1426,7 +1426,7 @@ |
result->set_is_toplevel(false); |
RecordFunctionCompilation(Logger::FUNCTION_TAG, &info, result); |
- result->set_allows_lazy_compilation(literal->AllowsLazyCompilation()); |
+ result->set_allows_lazy_compilation(allow_lazy); |
result->set_allows_lazy_compilation_without_context(allow_lazy_without_ctx); |
// Set the expected number of properties for instances and return |