Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 082303967720c1088fbd399f9d139d7395953cb6..e1f5ed4c64c92211e74aa14583d84fa8dc7856af 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -3435,9 +3435,9 @@ void FullCodeGenerator::EmitOneByteSeqStringSetChar(CallRuntime* expr) { |
Register index = a1; |
Register value = a2; |
- 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(index, value); |
if (FLAG_debug_code) { |
@@ -3472,9 +3472,9 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) { |
Register index = a1; |
Register value = a2; |
- 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(index, value); |
if (FLAG_debug_code) { |