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