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

Unified Diff: runtime/vm/flow_graph_builder.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/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 12003)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -47,14 +47,14 @@
void AddCatchEntry(TargetEntryInstr* entry);
- 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_;
}
- intptr_t stack_local_count() const {
- return stack_local_count_;
+ intptr_t num_stack_locals() const {
+ return num_stack_locals_;
}
bool InInliningContext() const { return inlining_context_ != kNotInlining; }
@@ -67,17 +67,17 @@
private:
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_;
}
const ParsedFunction& parsed_function_;
- const intptr_t copied_parameter_count_;
- const intptr_t non_copied_parameter_count_;
- const intptr_t stack_local_count_; // Does not include any parameters.
+ const intptr_t num_copied_params_;
+ const intptr_t num_non_copied_params_;
+ const intptr_t num_stack_locals_; // Does not include any parameters.
intptr_t context_level_;
intptr_t last_used_try_index_;
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698