| Index: runtime/vm/intermediate_language.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.cc (revision 5480)
|
| +++ runtime/vm/intermediate_language.cc (working copy)
|
| @@ -84,6 +84,7 @@
|
| // ==== Postorder graph traversal.
|
| void JoinEntryInstr::Postorder(GrowableArray<BlockEntryInstr*>* block_entries) {
|
| flip_mark();
|
| + ASSERT(successor_ != NULL);
|
| if (successor_->mark() != mark()) successor_->Postorder(block_entries);
|
| block_entries->Add(this);
|
| }
|
| @@ -92,6 +93,7 @@
|
| void TargetEntryInstr::Postorder(
|
| GrowableArray<BlockEntryInstr*>* block_entries) {
|
| flip_mark();
|
| + ASSERT(successor_ != NULL);
|
| if (successor_->mark() != mark()) successor_->Postorder(block_entries);
|
| block_entries->Add(this);
|
| }
|
| @@ -99,24 +101,28 @@
|
|
|
| void PickTempInstr::Postorder(GrowableArray<BlockEntryInstr*>* block_entries) {
|
| flip_mark();
|
| + ASSERT(successor_ != NULL);
|
| if (successor_->mark() != mark()) successor_->Postorder(block_entries);
|
| }
|
|
|
|
|
| void TuckTempInstr::Postorder(GrowableArray<BlockEntryInstr*>* block_entries) {
|
| flip_mark();
|
| + ASSERT(successor_ != NULL);
|
| if (successor_->mark() != mark()) successor_->Postorder(block_entries);
|
| }
|
|
|
|
|
| void DoInstr::Postorder(GrowableArray<BlockEntryInstr*>* block_entries) {
|
| flip_mark();
|
| + ASSERT(successor_ != NULL);
|
| if (successor_->mark() != mark()) successor_->Postorder(block_entries);
|
| }
|
|
|
|
|
| void BindInstr::Postorder(GrowableArray<BlockEntryInstr*>* block_entries) {
|
| flip_mark();
|
| + ASSERT(successor_ != NULL);
|
| if (successor_->mark() != mark()) successor_->Postorder(block_entries);
|
| }
|
|
|
|
|