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

Unified Diff: runtime/vm/parser.h

Issue 11228022: Cache parsed functions when inlining. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: runtime/vm/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index d6e73758e9587652ce49023b9311c4ce989577b9..43aaa7021938d1cba0972b74183b9f90e106029c 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -93,6 +93,8 @@ class ParsedFunction : public ValueObject {
void AllocateVariables();
private:
+ friend class CachedFunction;
+
const Function& function_;
SequenceNode* node_sequence_;
AstNode* instantiator_;

Powered by Google App Engine
This is Rietveld 408576698