Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 293ff2e4e25757e7bf26ae6fce33b6002dd65838..69f5634f248f4de8998a5a96db619cb8dbfdb681 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -2927,22 +2927,6 @@ void Builtins::Generate_Abort(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kAbort); |
} |
-// static |
-void Builtins::Generate_ToNumber(MacroAssembler* masm) { |
- // The ToNumber stub takes one argument in r2. |
- STATIC_ASSERT(kSmiTag == 0); |
- __ TestIfSmi(r2); |
- __ Ret(eq); |
- |
- __ CompareObjectType(r2, r3, r3, HEAP_NUMBER_TYPE); |
- // r2: receiver |
- // r3: receiver instance type |
- __ Ret(eq); |
- |
- __ Jump(masm->isolate()->builtins()->NonNumberToNumber(), |
- RelocInfo::CODE_TARGET); |
-} |
- |
void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- r2 : actual number of arguments |