Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 00edd35cdca8cffc4b5190f19b70b5fdd7ebe682..2215870ab438320844e0d887726c24b1a9597bef 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -2884,24 +2884,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 |