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

Unified Diff: runtime/vm/flow_graph.h

Issue 881063003: Cleanups: parsed_function()->function() => function() (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 | « no previous file | runtime/vm/flow_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
===================================================================
--- runtime/vm/flow_graph.h (revision 43198)
+++ runtime/vm/flow_graph.h (working copy)
@@ -92,6 +92,9 @@
ParsedFunction* parsed_function() const {
return parsed_function_;
}
+ const Function& function() const {
+ return parsed_function_->function();
+ }
intptr_t parameter_count() const {
return num_copied_params_ + num_non_copied_params_;
}
@@ -108,7 +111,7 @@
return num_non_copied_params_;
}
bool IsIrregexpFunction() const {
- return parsed_function()->function().IsIrregexpFunction();
+ return function().IsIrregexpFunction();
}
LocalVariable* CurrentContextVar() const {
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698