#include "src/builtins/builtins-call-gen.h"
#include <optional>
#include "src/builtins/builtins-inl.h"
#include "src/builtins/builtins-utils-gen.h"
#include "src/codegen/macro-assembler.h"
#include "src/common/globals.h"
#include "src/execution/isolate.h"
#include "src/execution/protectors.h"
#include "src/objects/api-callbacks.h"
#include "src/objects/arguments.h"
#include "src/objects/property-cell.h"
#include "src/objects/templates.h"
namespace v8 {
namespace internal {
#include "src/codegen/define-code-stub-assembler-macros.inc"
void Builtins::Generate_CallFunction_ReceiverIsNullOrUndefined(
MacroAssembler* masm) { … }
void Builtins::Generate_CallFunction_ReceiverIsNotNullOrUndefined(
MacroAssembler* masm) { … }
void Builtins::Generate_CallFunction_ReceiverIsAny(MacroAssembler* masm) { … }
void Builtins::Generate_CallBoundFunction(MacroAssembler* masm) { … }
void Builtins::Generate_Call_ReceiverIsNullOrUndefined(MacroAssembler* masm) { … }
void Builtins::Generate_Call_ReceiverIsNotNullOrUndefined(
MacroAssembler* masm) { … }
void Builtins::Generate_Call_ReceiverIsAny(MacroAssembler* masm) { … }
void Builtins::Generate_CallVarargs(MacroAssembler* masm) { … }
void Builtins::Generate_CallForwardVarargs(MacroAssembler* masm) { … }
void Builtins::Generate_CallFunctionForwardVarargs(MacroAssembler* masm) { … }
void Builtins::Generate_CallApiCallbackGeneric(MacroAssembler* masm) { … }
void Builtins::Generate_CallApiCallbackOptimizedNoProfiling(
MacroAssembler* masm) { … }
void Builtins::Generate_CallApiCallbackOptimized(MacroAssembler* masm) { … }
TF_BUILTIN(Call_ReceiverIsNullOrUndefined_Baseline_Compact,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsNullOrUndefined_Baseline,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsNotNullOrUndefined_Baseline_Compact,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsNotNullOrUndefined_Baseline,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsAny_Baseline_Compact,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsAny_Baseline, CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsNullOrUndefined_WithFeedback,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsNotNullOrUndefined_WithFeedback,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(Call_ReceiverIsAny_WithFeedback, CallOrConstructBuiltinsAssembler) { … }
void CallOrConstructBuiltinsAssembler::CallOrConstructWithArrayLike(
TNode<Object> target, std::optional<TNode<Object>> new_target,
TNode<Object> arguments_list, TNode<Context> context) { … }
void CallOrConstructBuiltinsAssembler::CallOrConstructDoubleVarargs(
TNode<Object> target, std::optional<TNode<Object>> new_target,
TNode<FixedDoubleArray> elements, TNode<Int32T> length,
TNode<Int32T> args_count, TNode<Context> context, TNode<Int32T> kind) { … }
void CallOrConstructBuiltinsAssembler::CallOrConstructWithSpread(
TNode<Object> target, std::optional<TNode<Object>> new_target,
TNode<Object> spread, TNode<Int32T> args_count, TNode<Context> context) { … }
template <class Descriptor>
void CallOrConstructBuiltinsAssembler::CallReceiver(
Builtin id, std::optional<TNode<Object>> receiver) { … }
template <class Descriptor>
void CallOrConstructBuiltinsAssembler::CallReceiver(
Builtin id, TNode<Int32T> argc, TNode<UintPtrT> slot,
std::optional<TNode<Object>> maybe_receiver) { … }
TF_BUILTIN(CallWithArrayLike, CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(CallWithArrayLike_WithFeedback, CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(CallWithSpread, CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(CallWithSpread_Baseline, CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(CallWithSpread_WithFeedback, CallOrConstructBuiltinsAssembler) { … }
TNode<JSReceiver> CallOrConstructBuiltinsAssembler::GetCompatibleReceiver(
TNode<JSReceiver> receiver, TNode<HeapObject> signature,
TNode<Context> context) { … }
constexpr bool CallOrConstructBuiltinsAssembler::IsAccessCheckRequired(
CallFunctionTemplateMode mode) { … }
void CallOrConstructBuiltinsAssembler::CallFunctionTemplate(
CallFunctionTemplateMode mode,
TNode<FunctionTemplateInfo> function_template_info, TNode<Int32T> argc,
TNode<Context> context, TNode<Object> topmost_script_having_context) { … }
TF_BUILTIN(CallFunctionTemplate_Generic, CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(CallFunctionTemplate_CheckAccess, CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(CallFunctionTemplate_CheckCompatibleReceiver,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(CallFunctionTemplate_CheckAccessAndCompatibleReceiver,
CallOrConstructBuiltinsAssembler) { … }
TF_BUILTIN(HandleApiCallOrConstruct, CallOrConstructBuiltinsAssembler) { … }
#include "src/codegen/undef-code-stub-assembler-macros.inc"
}
}