Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Unified Diff: src/parsing/expression-classifier.h

Issue 2058413002: Remove erroneous DCHECK related to expression classifiers (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress-crbug-619476.js » ('j') | test/mjsunit/regress-crbug-619476.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/expression-classifier.h
diff --git a/src/parsing/expression-classifier.h b/src/parsing/expression-classifier.h
index a27dcb00ce4773026217c8b2d1cff67f77100758..8e13d0e503756a4c841919348590e7abb302e31d 100644
--- a/src/parsing/expression-classifier.h
+++ b/src/parsing/expression-classifier.h
@@ -463,7 +463,6 @@ class ExpressionClassifier {
// in an inner classifier) or it could be an existing error (in case a
// copy is needed).
V8_INLINE void Copy(int i) {
- DCHECK_LE(reported_errors_end_, i);
DCHECK_LT(i, reported_errors_->length());
if (reported_errors_end_ != i)
reported_errors_->at(reported_errors_end_) = reported_errors_->at(i);
« no previous file with comments | « no previous file | test/mjsunit/regress-crbug-619476.js » ('j') | test/mjsunit/regress-crbug-619476.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698