| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index ee0ed36849012b02bdd36dd0e8399560ba2b347c..8dbe46490318ed6c0f68452383824fd88e9e9245 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -11539,10 +11539,9 @@ void HOptimizedGraphBuilder::GenerateDateField(CallRuntime* call) {
|
| void HOptimizedGraphBuilder::GenerateOneByteSeqStringSetChar(
|
| CallRuntime* call) {
|
| DCHECK(call->arguments()->length() == 3);
|
| - // We need to follow the evaluation order of full codegen.
|
| + CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
|
| CHECK_ALIVE(VisitForValue(call->arguments()->at(1)));
|
| CHECK_ALIVE(VisitForValue(call->arguments()->at(2)));
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
|
| HValue* string = Pop();
|
| HValue* value = Pop();
|
| HValue* index = Pop();
|
| @@ -11556,10 +11555,9 @@ void HOptimizedGraphBuilder::GenerateOneByteSeqStringSetChar(
|
| void HOptimizedGraphBuilder::GenerateTwoByteSeqStringSetChar(
|
| CallRuntime* call) {
|
| DCHECK(call->arguments()->length() == 3);
|
| - // We need to follow the evaluation order of full codegen.
|
| + CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
|
| CHECK_ALIVE(VisitForValue(call->arguments()->at(1)));
|
| CHECK_ALIVE(VisitForValue(call->arguments()->at(2)));
|
| - CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
|
| HValue* string = Pop();
|
| HValue* value = Pop();
|
| HValue* index = Pop();
|
|
|