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

Unified Diff: runtime/vm/intermediate_language.h

Issue 10939031: Replace start_env with initial_definitions in GraphEntryInstr. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review comments 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/il_printer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index fd02f8cd6bed6c863adcf7201f6ffad4d7acc2d7..82e471468d1ff5dfdfd0db53a21c1bc4ec3eb008 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -803,11 +803,10 @@ class GraphEntryInstr : public BlockEntryInstr {
virtual void PrepareEntry(FlowGraphCompiler* compiler);
- Environment* start_env() const { return start_env_; }
- void set_start_env(Environment* env) { start_env_ = env; }
-
- ConstantInstr* constant_null() const { return constant_null_; }
- void set_constant_null(ConstantInstr* instr) { constant_null_ = instr; }
+ GrowableArray<Definition*>* initial_definitions() {
+ return &initial_definitions_;
+ }
+ ConstantInstr* constant_null();
intptr_t spill_slot_count() const { return spill_slot_count_; }
void set_spill_slot_count(intptr_t count) {
@@ -823,8 +822,7 @@ class GraphEntryInstr : public BlockEntryInstr {
private:
TargetEntryInstr* normal_entry_;
GrowableArray<TargetEntryInstr*> catch_entries_;
- Environment* start_env_;
- ConstantInstr* constant_null_;
+ GrowableArray<Definition*> initial_definitions_;
intptr_t spill_slot_count_;
DISALLOW_COPY_AND_ASSIGN(GraphEntryInstr);
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698