| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 2c2b5270a073d50ad378aadf5db10da4a092f111..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);
|
|
|
|
|