| Index: src/builtins/x87/builtins-x87.cc
|
| diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc
|
| index 1a7834665564508377da6314505c8c001cbf2d45..98be65e89ade397fd706726d8719d31f9b00c250 100644
|
| --- a/src/builtins/x87/builtins-x87.cc
|
| +++ b/src/builtins/x87/builtins-x87.cc
|
| @@ -2766,37 +2766,6 @@ void Builtins::Generate_ToNumber(MacroAssembler* masm) {
|
| RelocInfo::CODE_TARGET);
|
| }
|
|
|
| -// static
|
| -void Builtins::Generate_NonNumberToNumber(MacroAssembler* masm) {
|
| - // The NonNumberToNumber stub takes one argument in eax.
|
| - __ AssertNotNumber(eax);
|
| -
|
| - Label not_string;
|
| - __ CmpObjectType(eax, FIRST_NONSTRING_TYPE, edi);
|
| - // eax: object
|
| - // edi: object map
|
| - __ j(above_equal, ¬_string, Label::kNear);
|
| - __ Jump(masm->isolate()->builtins()->StringToNumber(),
|
| - RelocInfo::CODE_TARGET);
|
| - __ bind(¬_string);
|
| -
|
| - Label not_oddball;
|
| - __ CmpInstanceType(edi, ODDBALL_TYPE);
|
| - __ j(not_equal, ¬_oddball, Label::kNear);
|
| - __ mov(eax, FieldOperand(eax, Oddball::kToNumberOffset));
|
| - __ Ret();
|
| - __ bind(¬_oddball);
|
| - {
|
| - FrameScope frame(masm, StackFrame::INTERNAL);
|
| - // Push argument.
|
| - __ push(eax);
|
| - // We cannot use a tail call here because this builtin can also be called
|
| - // from wasm.
|
| - __ CallRuntime(Runtime::kToNumber);
|
| - }
|
| - __ Ret();
|
| -}
|
| -
|
| void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) {
|
| // ----------- S t a t e -------------
|
| // -- eax : actual number of arguments
|
|
|