Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 36c0b52bcd1475000f5d1aee29a3ed8c5f6e132f..e679a29e51c9453b1afbb67cff16e28bb10e4283 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.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) { |