Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 7f371c83248018f6c63f7ab4d6a9e7f40e667129..0633cdf7676e1f09c5f4f0f7aaef4414a2ad38e6 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3351,9 +3351,9 @@ void FullCodeGenerator::EmitOneByteSeqStringSetChar(CallRuntime* expr) { |
Register index = rbx; |
Register value = rcx; |
- 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); |
@@ -3384,9 +3384,9 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) { |
Register index = rbx; |
Register value = rcx; |
- 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); |