Read zone() directly from parser_ in ParserTraits
BUG= Review-Url: https://codereview.chromium.org/2225373002 Cr-Commit-Position: refs/heads/master@{#38493}
This commit is contained in:
parent
808981a22e
commit
2f6b26ed45
@ -5862,11 +5862,7 @@ ParserTraits::GetReportedErrorList() const {
|
||||
return parser_->function_state_->GetReportedErrorList();
|
||||
}
|
||||
|
||||
|
||||
Zone* ParserTraits::zone() const {
|
||||
return parser_->function_state_->scope()->zone();
|
||||
}
|
||||
|
||||
Zone* ParserTraits::zone() const { return parser_->zone(); }
|
||||
|
||||
class NonPatternRewriter : public AstExpressionRewriter {
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user