Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 86db379d6ce2d552bc33f773a7280b20a770dd1b..0f87d1054b3e4c055dafc5fd80858f20c9c13e00 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1256,7 +1256,8 @@ PreParser::Expression PreParser::ParseFunctionLiteral(bool* ok) { |
int end_pos = scanner_->location().end_pos; |
log_->LogFunction(function_block_pos, end_pos, |
function_scope.materialized_literal_count(), |
- function_scope.expected_properties()); |
+ function_scope.expected_properties(), |
+ strict_mode() ? 1 : 0); |
} else { |
ParseSourceElements(i::Token::RBRACE, CHECK_OK); |
Expect(i::Token::RBRACE, CHECK_OK); |