| Index: src/x64/codegen-x64.cc
|
| ===================================================================
|
| --- src/x64/codegen-x64.cc (revision 3862)
|
| +++ src/x64/codegen-x64.cc (working copy)
|
| @@ -3972,6 +3972,17 @@
|
| }
|
|
|
|
|
| +void CodeGenerator::GenerateNumberToString(ZoneList<Expression*>* args) {
|
| + ASSERT_EQ(args->length(), 1);
|
| +
|
| + // Load the argument on the stack and jump to the runtime.
|
| + Load(args->at(0));
|
| +
|
| + Result answer = frame_->CallRuntime(Runtime::kNumberToString, 1);
|
| + frame_->Push(&answer);
|
| +}
|
| +
|
| +
|
| void CodeGenerator::GenerateStringAdd(ZoneList<Expression*>* args) {
|
| ASSERT_EQ(2, args->length());
|
|
|
|
|