Index: src/builtins/arm64/builtins-arm64.cc |
diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc |
index 4ec14f1b4eacbe5274a00232faed86f479e73b47..c82b6f344cbb248b163248e1375acc99ef3b7524 100644 |
--- a/src/builtins/arm64/builtins-arm64.cc |
+++ b/src/builtins/arm64/builtins-arm64.cc |
@@ -2916,26 +2916,6 @@ void Builtins::Generate_Abort(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kAbort); |
} |
-// static |
-void Builtins::Generate_ToNumber(MacroAssembler* masm) { |
- // The ToNumber stub takes one argument in x0. |
- Label not_smi; |
- __ JumpIfNotSmi(x0, ¬_smi); |
- __ Ret(); |
- __ Bind(¬_smi); |
- |
- Label not_heap_number; |
- __ CompareObjectType(x0, x1, x1, HEAP_NUMBER_TYPE); |
- // x0: receiver |
- // x1: receiver instance type |
- __ B(ne, ¬_heap_number); |
- __ Ret(); |
- __ Bind(¬_heap_number); |
- |
- __ Jump(masm->isolate()->builtins()->NonNumberToNumber(), |
- RelocInfo::CODE_TARGET); |
-} |
- |
void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
ASM_LOCATION("Builtins::Generate_ArgumentsAdaptorTrampoline"); |
// ----------- S t a t e ------------- |