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

Unified Diff: runtime/vm/flow_graph_builder.cc

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
Index: runtime/vm/flow_graph_builder.cc
===================================================================
--- runtime/vm/flow_graph_builder.cc (revision 11998)
+++ runtime/vm/flow_graph_builder.cc (working copy)
@@ -31,12 +31,12 @@
FlowGraphBuilder::FlowGraphBuilder(const ParsedFunction& parsed_function)
: parsed_function_(parsed_function),
- copied_parameter_count_(parsed_function.copied_parameter_count()),
+ num_copied_params_(parsed_function.num_copied_params()),
// All parameters are copied if any parameter is.
- non_copied_parameter_count_((copied_parameter_count_ == 0)
+ num_non_copied_params_((num_copied_params_ == 0)
? parsed_function.function().num_fixed_parameters()
: 0),
- stack_local_count_(parsed_function.stack_local_count()),
+ num_stack_locals_(parsed_function.num_stack_locals()),
context_level_(0),
last_used_try_index_(CatchClauseNode::kInvalidTryIndex),
try_index_(CatchClauseNode::kInvalidTryIndex),

Powered by Google App Engine
This is Rietveld 408576698