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

Unified Diff: runtime/vm/scopes.h

Issue 11228022: Cache parsed functions when inlining. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: virtual Created 8 years, 2 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 | « runtime/vm/parser_test.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scopes.h
diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h
index 12b7e18fc43ce7054b873e2701cec2704ee45a57..75f837c2bf37248348cec227a138daa12b02fd6f 100644
--- a/runtime/vm/scopes.h
+++ b/runtime/vm/scopes.h
@@ -175,6 +175,10 @@ class SourceLabel : public ZoneAllocated {
void ResolveForwardReference() { kind_ = kCase; }
private:
+ // TODO(zerny): Remove this hack when the builder no longer stores state in
+ // the ast/scopes.
+ friend class SourceLabelResetter;
+
const intptr_t token_pos_;
const String& name_;
LocalScope* owner_; // Local scope declaring this label.
« no previous file with comments | « runtime/vm/parser_test.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698