| Index: src/builtins/x87/builtins-x87.cc
|
| diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc
|
| index 169b9f2ac5e37527344bd7aae306ce18dc56bdbc..98a70be6b5c7720d4d90ef5f5c3136f0ee8d3e54 100644
|
| --- a/src/builtins/x87/builtins-x87.cc
|
| +++ b/src/builtins/x87/builtins-x87.cc
|
| @@ -2908,24 +2908,6 @@ void Builtins::Generate_Abort(MacroAssembler* masm) {
|
| __ TailCallRuntime(Runtime::kAbort);
|
| }
|
|
|
| -// static
|
| -void Builtins::Generate_ToNumber(MacroAssembler* masm) {
|
| - // The ToNumber stub takes one argument in eax.
|
| - Label not_smi;
|
| - __ JumpIfNotSmi(eax, ¬_smi, Label::kNear);
|
| - __ Ret();
|
| - __ bind(¬_smi);
|
| -
|
| - Label not_heap_number;
|
| - __ CompareMap(eax, masm->isolate()->factory()->heap_number_map());
|
| - __ 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 -------------
|
| // -- eax : actual number of arguments
|
|
|