| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index 84dcb18248e113bad54db2d9dc60a403856e996c..8333193db0ca99d46036567cb41e95d58dc98602 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -2569,6 +2569,9 @@ void HPhi::AddIndirectUsesTo(int* dest) {
|
|
|
|
|
| void HSimulate::MergeWith(ZoneList<HSimulate*>* list) {
|
| + if (!list->is_empty() && !HasAstId()) {
|
| + set_ast_id(list->last()->ast_id());
|
| + }
|
| while (!list->is_empty()) {
|
| HSimulate* from = list->RemoveLast();
|
| ZoneList<HValue*>* from_values = &from->values_;
|
| @@ -4455,7 +4458,7 @@ void HPhi::Verify() {
|
|
|
| void HSimulate::Verify() {
|
| HInstruction::Verify();
|
| - ASSERT(HasAstId());
|
| + ASSERT(HasAstId() || next()->IsEnterInlined());
|
| }
|
|
|
|
|
|
|