Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index d5fa5e5a7ca250543ce1645959151350f0b102cf..7d0d00a03d66c2fd519b129bd001e4a1f16d7491 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3441,9 +3441,9 @@ void FullCodeGenerator::EmitOneByteSeqStringSetChar(CallRuntime* expr) { |
VisitForStackValue(args->at(1)); // index |
VisitForStackValue(args->at(2)); // value |
+ VisitForAccumulatorValue(args->at(0)); // string |
__ pop(value); |
__ pop(index); |
- VisitForAccumulatorValue(args->at(0)); // string |
if (FLAG_debug_code) { |
static const uint32_t one_byte_seq_type = kSeqStringTag | kOneByteStringTag; |
@@ -3468,9 +3468,9 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) { |
VisitForStackValue(args->at(1)); // index |
VisitForStackValue(args->at(2)); // value |
+ VisitForAccumulatorValue(args->at(0)); // string |
__ pop(value); |
__ pop(index); |
- VisitForAccumulatorValue(args->at(0)); // string |
if (FLAG_debug_code) { |
static const uint32_t two_byte_seq_type = kSeqStringTag | kTwoByteStringTag; |