Index: src/parsing/preparser.cc |
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc |
index ba82806f3d8bebbaa44247de00712fa3b6d482d9..e11f578ce9681c59257f843d2e0185f5bf46763b 100644 |
--- a/src/parsing/preparser.cc |
+++ b/src/parsing/preparser.cc |
@@ -748,7 +748,6 @@ PreParser::Statement PreParser::ParseReturnStatement(bool* ok) { |
// reporting any errors on it, because of the way errors are |
// reported (underlining). |
Expect(Token::RETURN, CHECK_OK); |
- function_state_->set_return_location(scanner()->location()); |
// An ECMAScript program is considered syntactically incorrect if it |
// contains a return statement that is not within the body of a |