Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 7c055436fe8773cdbd16eb702ea7fa403cca300d..519845e3169c2a88c798bf849898dcc4a58166b5 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -3436,9 +3436,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) { |
@@ -3473,9 +3473,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) { |