| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index da7278b42ba0c25f5b1dcda96fe5ba1634b37972..6b687e5bb77a2486403bc7d321849cc2fe1e2281 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -3362,9 +3362,9 @@ void FullCodeGenerator::EmitOneByteSeqStringSetChar(CallRuntime* expr) {
|
| Register index = ebx;
|
| Register value = ecx;
|
|
|
| - VisitForStackValue(args->at(1)); // index
|
| - VisitForStackValue(args->at(2)); // value
|
| - VisitForAccumulatorValue(args->at(0)); // string
|
| + VisitForStackValue(args->at(0)); // index
|
| + VisitForStackValue(args->at(1)); // value
|
| + VisitForAccumulatorValue(args->at(2)); // string
|
|
|
| __ pop(value);
|
| __ pop(index);
|
| @@ -3398,9 +3398,9 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) {
|
| Register index = ebx;
|
| Register value = ecx;
|
|
|
| - VisitForStackValue(args->at(1)); // index
|
| - VisitForStackValue(args->at(2)); // value
|
| - VisitForAccumulatorValue(args->at(0)); // string
|
| + VisitForStackValue(args->at(0)); // index
|
| + VisitForStackValue(args->at(1)); // value
|
| + VisitForAccumulatorValue(args->at(2)); // string
|
| __ pop(value);
|
| __ pop(index);
|
|
|
|
|