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

Unified Diff: runtime/vm/flow_graph.h

Issue 10910119: Implement new optional parameters syntax in the vm (issue 4290). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/dart_api_impl.cc ('k') | 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 12003)
+++ runtime/vm/flow_graph.h (working copy)
@@ -49,19 +49,19 @@
return parsed_function_;
}
intptr_t parameter_count() const {
- return copied_parameter_count_ + non_copied_parameter_count_;
+ return num_copied_params_ + num_non_copied_params_;
}
intptr_t variable_count() const {
- return parameter_count() + stack_local_count_;
+ return parameter_count() + num_stack_locals_;
}
- intptr_t stack_local_count() const {
- return stack_local_count_;
+ intptr_t num_stack_locals() const {
+ return num_stack_locals_;
}
- intptr_t copied_parameter_count() const {
- return copied_parameter_count_;
+ intptr_t num_copied_params() const {
+ return num_copied_params_;
}
- intptr_t non_copied_parameter_count() const {
- return non_copied_parameter_count_;
+ intptr_t num_non_copied_params() const {
+ return num_non_copied_params_;
}
// Flow graph orders.
@@ -154,9 +154,9 @@
// Flow graph fields.
const ParsedFunction& parsed_function_;
- const intptr_t copied_parameter_count_;
- const intptr_t non_copied_parameter_count_;
- const intptr_t stack_local_count_;
+ const intptr_t num_copied_params_;
+ const intptr_t num_non_copied_params_;
+ const intptr_t num_stack_locals_;
GraphEntryInstr* graph_entry_;
GrowableArray<BlockEntryInstr*> preorder_;
GrowableArray<BlockEntryInstr*> postorder_;
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698