Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index b8e6b9affc581aca97782af5590d65b4d959ff2a..5d1baf7604122c6a20a1bdbb8d1721f653c26f56 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -2910,6 +2910,8 @@ Statement* Parser::ParseReturnStatement(bool* ok) { |
is_undefined, ThisExpression(scope_, factory(), pos), |
is_object_conditional, pos); |
} |
+ |
+ return_value->MarkTail(); |
} |
ExpectSemicolon(CHECK_OK); |