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

Unified Diff: runtime/vm/parser.h

Issue 695483003: Remove saving/restoring of the context at function entry. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.h
===================================================================
--- runtime/vm/parser.h (revision 41422)
+++ runtime/vm/parser.h (working copy)
@@ -45,7 +45,6 @@
instantiator_(NULL),
default_parameter_values_(Array::ZoneHandle(isolate, Array::null())),
current_context_var_(NULL),
- saved_entry_context_var_(NULL),
expression_temp_var_(NULL),
finally_return_temp_var_(NULL),
deferred_prefixes_(new ZoneGrowableArray<const LibraryPrefix*>()),
@@ -92,14 +91,6 @@
return current_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;
- }
-
LocalVariable* expression_temp_var() const {
ASSERT(has_expression_temp_var());
return expression_temp_var_;
@@ -173,7 +164,6 @@
LocalVariable* instantiator_;
Array& default_parameter_values_;
LocalVariable* current_context_var_;
- LocalVariable* saved_entry_context_var_;
LocalVariable* expression_temp_var_;
LocalVariable* finally_return_temp_var_;
ZoneGrowableArray<const LibraryPrefix*>* deferred_prefixes_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698