diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-07-25 19:30:07 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-07-26 08:31:50 +0200 |
commit | 6a31d05340b22fc413ee83eaacd0a5565bbbe799 (patch) | |
tree | 78f9e1c2f417244842f6422f17e1816e70317100 /deps/v8/src/parsing/parser-base.h | |
parent | 4d94bb2b1f72b6b612983a517a39c5545724a3ad (diff) | |
download | android-node-v8-6a31d05340b22fc413ee83eaacd0a5565bbbe799.tar.gz android-node-v8-6a31d05340b22fc413ee83eaacd0a5565bbbe799.tar.bz2 android-node-v8-6a31d05340b22fc413ee83eaacd0a5565bbbe799.zip |
deps: update V8 to 6.8.275.24
PR-URL: https://github.com/nodejs/node/pull/21079
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Diffstat (limited to 'deps/v8/src/parsing/parser-base.h')
-rw-r--r-- | deps/v8/src/parsing/parser-base.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/deps/v8/src/parsing/parser-base.h b/deps/v8/src/parsing/parser-base.h index 1a6df33083..3f79d3733a 100644 --- a/deps/v8/src/parsing/parser-base.h +++ b/deps/v8/src/parsing/parser-base.h @@ -3424,24 +3424,12 @@ ParserBase<Impl>::ParseLeftHandSideExpression(bool* ok) { Call::PossiblyEval is_possibly_eval = CheckPossibleEvalCall(result, scope()); - bool is_super_call = result->IsSuperCallReference(); if (spread_pos.IsValid()) { result = impl()->SpreadCall(result, args, pos, is_possibly_eval); } else { result = factory()->NewCall(result, args, pos, is_possibly_eval); } - // Explicit calls to the super constructor using super() perform an - // implicit binding assignment to the 'this' variable. - if (is_super_call) { - classifier()->RecordAssignmentPatternError( - Scanner::Location(pos, scanner()->location().end_pos), - MessageTemplate::kInvalidDestructuringTarget); - ExpressionT this_expr = impl()->ThisExpression(pos); - result = - factory()->NewAssignment(Token::INIT, this_expr, result, pos); - } - if (fni_ != nullptr) fni_->RemoveLastFunction(); break; } |