Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 0407f01c084e1b742173c7d6d397d1c9d73b4b58..35fbad06e4453b78b4ed1faa9b1ab38ed15a42e1 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -3734,6 +3734,7 @@ void FullCodeGenerator::EmitStringAdd(CallRuntime* expr) { |
VisitForAccumulatorValue(args->at(1)); |
__ pop(a1); |
+ __ mov(a0, result_register()); // NewStringAddStub requires args in a0, a1. |
NewStringAddStub stub(STRING_ADD_CHECK_BOTH, NOT_TENURED); |
__ CallStub(&stub); |
} else { |