Commit 1556cdea authored by Toon Verwaest's avatar Toon Verwaest Committed by Commit Bot

[parser] Inline CheckAndRewriteReferenceExpression wrapper

Change-Id: Ic8beb18bf37343405e8f4443a9f0991bd365e8df
Reviewed-on: https://chromium-review.googlesource.com/c/1280227Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56656}
parent e11053a9
...@@ -1260,10 +1260,9 @@ class ParserBase { ...@@ -1260,10 +1260,9 @@ class ParserBase {
// Checks if the expression is a valid reference expression (e.g., on the // Checks if the expression is a valid reference expression (e.g., on the
// left-hand side of assignments). Although ruled out by ECMA as early errors, // left-hand side of assignments). Although ruled out by ECMA as early errors,
// we allow calls for web compatibility and rewrite them to a runtime throw. // we allow calls for web compatibility and rewrite them to a runtime throw.
ExpressionT CheckAndRewriteReferenceExpression(ExpressionT expression, V8_INLINE ExpressionT CheckAndRewriteReferenceExpression(
int beg_pos, int end_pos, ExpressionT expression, int beg_pos, int end_pos, MessageTemplate message,
MessageTemplate message, bool* ok);
bool* ok);
ExpressionT CheckAndRewriteReferenceExpression(ExpressionT expression, ExpressionT CheckAndRewriteReferenceExpression(ExpressionT expression,
int beg_pos, int end_pos, int beg_pos, int end_pos,
MessageTemplate message, MessageTemplate message,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment