Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index fe51f544c51dff64a437b3b235ae0b5f5b6f95fd..a6f48a5d44466ac2e3f00564eff1b88989e7e8cf 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -3444,9 +3444,9 @@ void FullCodeGenerator::EmitOneByteSeqStringSetChar(CallRuntime* expr) { |
Register index = r1; |
Register value = r2; |
- 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) { |
@@ -3477,9 +3477,9 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) { |
Register index = r1; |
Register value = r2; |
- 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) { |