| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index 6f46509cac2a61018c9b824f96dd76dedfc846f7..7a8b1cb6793b2c90763279284a55d368760c1d5c 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -564,7 +564,7 @@ void HInstruction::InsertAfter(HInstruction* previous) {
|
| // followed by a simulate instruction, we need to insert after the
|
| // simulate instruction instead.
|
| HInstruction* next = previous->next_;
|
| - if (previous->HasSideEffects() && next != NULL) {
|
| + if (previous->HasObservableSideEffects() && next != NULL) {
|
| ASSERT(next->IsSimulate());
|
| previous = next;
|
| next = previous->next_;
|
| @@ -604,7 +604,7 @@ void HInstruction::Verify() {
|
|
|
| // Verify that instructions that may have side-effects are followed
|
| // by a simulate instruction.
|
| - if (HasSideEffects() && !IsOsrEntry()) {
|
| + if (HasObservableSideEffects() && !IsOsrEntry()) {
|
| ASSERT(next()->IsSimulate());
|
| }
|
|
|
|
|