Commit b1984833 authored by Adam Klein's avatar Adam Klein Committed by Commit Bot

[cleanup] Remove dead FunctionState::non_patterns_to_rewrite_ member

Change-Id: I75111d30d9e31605fd78c55e3103af8834178cd7
Reviewed-on: https://chromium-review.googlesource.com/909963Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51192}
parent 86d512c8
......@@ -428,10 +428,6 @@ class ParserBase {
return &reported_errors_;
}
ZoneList<RewritableExpressionT>* non_patterns_to_rewrite() {
return &non_patterns_to_rewrite_;
}
bool next_function_is_likely_called() const {
return next_function_is_likely_called_;
}
......@@ -481,7 +477,6 @@ class ParserBase {
DeclarationScope* scope_;
ZoneList<RewritableExpressionT> destructuring_assignments_to_rewrite_;
ZoneList<RewritableExpressionT> non_patterns_to_rewrite_;
ZoneList<typename ExpressionClassifier::Error> reported_errors_;
......@@ -1574,7 +1569,6 @@ ParserBase<Impl>::FunctionState::FunctionState(
outer_function_state_(*function_state_stack),
scope_(scope),
destructuring_assignments_to_rewrite_(16, scope->zone()),
non_patterns_to_rewrite_(0, scope->zone()),
reported_errors_(16, scope->zone()),
dont_optimize_reason_(BailoutReason::kNoReason),
suspend_count_(0),
......
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