Index: runtime/vm/parser.h |
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h |
index 2e74b1c575e43e348d56e741d5cc4ea0c141583a..37088e3d930bf05bac8723aa1781fda4392b47ff 100644 |
--- a/runtime/vm/parser.h |
+++ b/runtime/vm/parser.h |
@@ -150,6 +150,7 @@ class ParsedFunction : public ZoneAllocated { |
void record_await() { have_seen_await_expr_ = true; } |
bool have_seen_await() const { return have_seen_await_expr_; } |
+ Thread* thread() const { return thread_; } |
Isolate* isolate() const { return thread_->isolate(); } |
Zone* zone() const { return thread_->zone(); } |