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

Unified Diff: vm/parser.h

Issue 12207023: Rename the accessor functions saved_context_var and set_saved_context_var to saved_entry_context_va… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 10 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 | « vm/flow_graph_builder.cc ('k') | vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/parser.h
===================================================================
--- vm/parser.h (revision 18152)
+++ vm/parser.h (working copy)
@@ -37,7 +37,7 @@
node_sequence_(NULL),
instantiator_(NULL),
default_parameter_values_(Array::ZoneHandle()),
- saved_context_var_(NULL),
+ saved_entry_context_var_(NULL),
expression_temp_var_(NULL),
first_parameter_index_(0),
first_stack_local_index_(0),
@@ -65,11 +65,13 @@
default_parameter_values_ = default_parameter_values.raw();
}
- LocalVariable* saved_context_var() const { return saved_context_var_; }
- void set_saved_context_var(LocalVariable* saved_context_var) {
- ASSERT(saved_context_var != NULL);
- saved_context_var_ = saved_context_var;
+ LocalVariable* saved_entry_context_var() const {
+ return saved_entry_context_var_;
}
+ void set_saved_entry_context_var(LocalVariable* saved_entry_context_var) {
+ ASSERT(saved_entry_context_var != NULL);
+ saved_entry_context_var_ = saved_entry_context_var;
+ }
// Returns NULL if this function does not save the arguments descriptor on
// entry.
@@ -100,7 +102,7 @@
SequenceNode* node_sequence_;
AstNode* instantiator_;
Array& default_parameter_values_;
- LocalVariable* saved_context_var_;
+ LocalVariable* saved_entry_context_var_;
LocalVariable* expression_temp_var_;
int first_parameter_index_;
« no previous file with comments | « vm/flow_graph_builder.cc ('k') | vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698