Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 03fc9dcb183bcf796ae8657ade3ecb91a9e373e0..7cce685eee10f4728bc80eec3ed9e44ca3a57e1a 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -1078,6 +1078,7 @@ PreParser::Expression PreParser::ParseFunctionLiteral(bool* ok) { |
Expect(i::Token::RBRACE, CHECK_OK); |
+ // Position right after terminal '}'. |
int end_pos = scanner_->location().end_pos; |
log_->LogFunction(function_block_pos, end_pos, |
function_scope.materialized_literal_count(), |