| Index: src/a64/full-codegen-a64.cc
|
| diff --git a/src/a64/full-codegen-a64.cc b/src/a64/full-codegen-a64.cc
|
| index 82e108db68456f03f4a89b991048dfa006728ad8..00b485fe21b8ee810404c91d489e7719b57b0b8f 100644
|
| --- a/src/a64/full-codegen-a64.cc
|
| +++ b/src/a64/full-codegen-a64.cc
|
| @@ -3338,8 +3338,9 @@ void FullCodeGenerator::EmitSetValueOf(CallRuntime* expr) {
|
| void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| ASSERT_EQ(args->length(), 1);
|
| - // Load the argument on the stack and call the stub.
|
| - VisitForStackValue(args->at(0));
|
| +
|
| + // Load the argument into x0 and call the stub.
|
| + VisitForAccumulatorValue(args->at(0));
|
|
|
| NumberToStringStub stub;
|
| __ CallStub(&stub);
|
|
|