| Index: src/builtins/x64/builtins-x64.cc
|
| diff --git a/src/builtins/x64/builtins-x64.cc b/src/builtins/x64/builtins-x64.cc
|
| index 82922239e1f3002ae6e3feddd216a38b9f6ebc73..ecdac09347d31e8df4c094422ec1ed05fb14f107 100644
|
| --- a/src/builtins/x64/builtins-x64.cc
|
| +++ b/src/builtins/x64/builtins-x64.cc
|
| @@ -2217,25 +2217,6 @@ void Builtins::Generate_Abort(MacroAssembler* masm) {
|
| __ TailCallRuntime(Runtime::kAbort);
|
| }
|
|
|
| -// static
|
| -void Builtins::Generate_ToNumber(MacroAssembler* masm) {
|
| - // The ToNumber stub takes one argument in rax.
|
| - Label not_smi;
|
| - __ JumpIfNotSmi(rax, ¬_smi, Label::kNear);
|
| - __ Ret();
|
| - __ bind(¬_smi);
|
| -
|
| - Label not_heap_number;
|
| - __ CompareRoot(FieldOperand(rax, HeapObject::kMapOffset),
|
| - Heap::kHeapNumberMapRootIndex);
|
| - __ j(not_equal, ¬_heap_number, Label::kNear);
|
| - __ Ret();
|
| - __ bind(¬_heap_number);
|
| -
|
| - __ Jump(masm->isolate()->builtins()->NonNumberToNumber(),
|
| - RelocInfo::CODE_TARGET);
|
| -}
|
| -
|
| void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) {
|
| // ----------- S t a t e -------------
|
| // -- rax : actual number of arguments
|
|
|