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

Unified Diff: src/parsing/parser.cc

Issue 2893313002: [inspector] removed call break location from for-of loop (Closed)
Patch Set: removed call location Created 3 years, 7 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
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index a4f40dda536d0038bc91186a25961adfd799e38e..ea478c293acf7cf2431d4320865a56d0be444d17 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -1899,7 +1899,7 @@ Expression* Parser::BuildIteratorNextResult(Expression* iterator,
ZoneList<Expression*>* next_arguments =
new (zone()) ZoneList<Expression*>(0, zone());
Expression* next_call =
- factory()->NewCall(next_property, next_arguments, pos);
+ factory()->NewCall(next_property, next_arguments, kNoSourcePosition);
if (type == IteratorType::kAsync) {
next_call = RewriteAwaitExpression(next_call, pos);
}

Powered by Google App Engine
This is Rietveld 408576698