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

Unified Diff: runtime/vm/profiler_service.cc

Issue 2727803002: Fix setting breakpoint setting in await statements (Closed)
Patch Set: Created 3 years, 10 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: runtime/vm/profiler_service.cc
diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc
index 8b9bee9489e861ece363d122e87e3e01413d9711..e750b2c573ed036de4a197b2490653a12a83d956 100644
--- a/runtime/vm/profiler_service.cc
+++ b/runtime/vm/profiler_service.cc
@@ -2590,7 +2590,7 @@ const char* ProfileTrieWalker::CurrentToken() {
return NULL;
}
TokenPosition token_pos = pfsp.token_pos();
- if (!token_pos.IsReal() && !token_pos.IsSynthetic()) {
+ if (!token_pos.IsSourcePosition()) {
// Not a location in a script.
return NULL;
}
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/source_report.cc » ('j') | runtime/vm/token_position.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698