Index: src/builtins/builtins-call.cc |
diff --git a/src/builtins/builtins-call.cc b/src/builtins/builtins-call.cc |
index 40ef3f04302ce0af8b856bf8249acc7b4801652b..e6598c88a2921b24c73656b00cfc8661a6076d3c 100644 |
--- a/src/builtins/builtins-call.cc |
+++ b/src/builtins/builtins-call.cc |
@@ -4,8 +4,8 @@ |
#include "src/builtins/builtins-utils.h" |
#include "src/builtins/builtins.h" |
+#include "src/handles-inl.h" |
#include "src/isolate.h" |
-#include "src/macro-assembler.h" |
#include "src/objects-inl.h" |
namespace v8 { |
@@ -78,86 +78,5 @@ Handle<Code> Builtins::CallBoundFunction(TailCallMode tail_call_mode) { |
return Handle<Code>::null(); |
} |
-void Builtins::Generate_CallFunction_ReceiverIsNullOrUndefined( |
- MacroAssembler* masm) { |
- Generate_CallFunction(masm, ConvertReceiverMode::kNullOrUndefined, |
- TailCallMode::kDisallow); |
-} |
- |
-void Builtins::Generate_CallFunction_ReceiverIsNotNullOrUndefined( |
- MacroAssembler* masm) { |
- Generate_CallFunction(masm, ConvertReceiverMode::kNotNullOrUndefined, |
- TailCallMode::kDisallow); |
-} |
- |
-void Builtins::Generate_CallFunction_ReceiverIsAny(MacroAssembler* masm) { |
- Generate_CallFunction(masm, ConvertReceiverMode::kAny, |
- TailCallMode::kDisallow); |
-} |
- |
-void Builtins::Generate_TailCallFunction_ReceiverIsNullOrUndefined( |
- MacroAssembler* masm) { |
- Generate_CallFunction(masm, ConvertReceiverMode::kNullOrUndefined, |
- TailCallMode::kAllow); |
-} |
- |
-void Builtins::Generate_TailCallFunction_ReceiverIsNotNullOrUndefined( |
- MacroAssembler* masm) { |
- Generate_CallFunction(masm, ConvertReceiverMode::kNotNullOrUndefined, |
- TailCallMode::kAllow); |
-} |
- |
-void Builtins::Generate_TailCallFunction_ReceiverIsAny(MacroAssembler* masm) { |
- Generate_CallFunction(masm, ConvertReceiverMode::kAny, TailCallMode::kAllow); |
-} |
- |
-void Builtins::Generate_CallBoundFunction(MacroAssembler* masm) { |
- Generate_CallBoundFunctionImpl(masm, TailCallMode::kDisallow); |
-} |
- |
-void Builtins::Generate_TailCallBoundFunction(MacroAssembler* masm) { |
- Generate_CallBoundFunctionImpl(masm, TailCallMode::kAllow); |
-} |
- |
-void Builtins::Generate_Call_ReceiverIsNullOrUndefined(MacroAssembler* masm) { |
- Generate_Call(masm, ConvertReceiverMode::kNullOrUndefined, |
- TailCallMode::kDisallow); |
-} |
- |
-void Builtins::Generate_Call_ReceiverIsNotNullOrUndefined( |
- MacroAssembler* masm) { |
- Generate_Call(masm, ConvertReceiverMode::kNotNullOrUndefined, |
- TailCallMode::kDisallow); |
-} |
- |
-void Builtins::Generate_Call_ReceiverIsAny(MacroAssembler* masm) { |
- Generate_Call(masm, ConvertReceiverMode::kAny, TailCallMode::kDisallow); |
-} |
- |
-void Builtins::Generate_TailCall_ReceiverIsNullOrUndefined( |
- MacroAssembler* masm) { |
- Generate_Call(masm, ConvertReceiverMode::kNullOrUndefined, |
- TailCallMode::kAllow); |
-} |
- |
-void Builtins::Generate_TailCall_ReceiverIsNotNullOrUndefined( |
- MacroAssembler* masm) { |
- Generate_Call(masm, ConvertReceiverMode::kNotNullOrUndefined, |
- TailCallMode::kAllow); |
-} |
- |
-void Builtins::Generate_TailCall_ReceiverIsAny(MacroAssembler* masm) { |
- Generate_Call(masm, ConvertReceiverMode::kAny, TailCallMode::kAllow); |
-} |
- |
-void Builtins::Generate_CallForwardVarargs(MacroAssembler* masm) { |
- Generate_CallForwardVarargs(masm, masm->isolate()->builtins()->Call()); |
-} |
- |
-void Builtins::Generate_CallFunctionForwardVarargs(MacroAssembler* masm) { |
- Generate_CallForwardVarargs(masm, |
- masm->isolate()->builtins()->CallFunction()); |
-} |
- |
} // namespace internal |
} // namespace v8 |