Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 0cb8e46a24543c403a400ed2cc75c1b6f70eae64..136101b2b164f9a0d3d05038371c1e4ad2422e69 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -3520,8 +3520,8 @@ void FullCodeGenerator::EmitOneByteSeqStringSetChar(CallRuntime* expr) { |
VisitForStackValue(args->at(1)); // index |
VisitForStackValue(args->at(2)); // value |
- __ Pop(index, value); |
VisitForAccumulatorValue(args->at(0)); // string |
+ __ Pop(index, value); |
if (FLAG_debug_code) { |
static const uint32_t one_byte_seq_type = kSeqStringTag | kOneByteStringTag; |
@@ -3547,8 +3547,8 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) { |
VisitForStackValue(args->at(1)); // index |
VisitForStackValue(args->at(2)); // value |
- __ Pop(index, value); |
VisitForAccumulatorValue(args->at(0)); // string |
+ __ Pop(index, value); |
if (FLAG_debug_code) { |
static const uint32_t two_byte_seq_type = kSeqStringTag | kTwoByteStringTag; |