19 bool switch_to_central_stack) {
21 switch_to_central_stack);
26 ArgvMode argv_mode,
bool builtin_exit_frame,
27 bool switch_to_central_stack) {
29 switch_to_central_stack);
30 return isolate->builtins()->code_handle(builtin);
64 Builtin::kFastNewFunctionContextEval);
67 Builtin::kFastNewFunctionContextFunction);
84 isolate, Builtin::kCall_ReceiverIsNullOrUndefined_WithFeedback);
87 isolate, Builtin::kCall_ReceiverIsNotNullOrUndefined_WithFeedback);
90 Builtin::kCall_ReceiverIsAny_WithFeedback);
138 Builtin::kConstructFunctionForwardVarargs);
145#define CASE(kind_caps, kind_camel, mode_camel) \
147 return Builtins::CallableFor( \
149 Builtin::kArrayNoArgumentConstructor_##kind_camel##_##mode_camel);
179#define CASE(kind_caps, kind_camel, mode_camel) \
181 return Builtins::CallableFor( \
183 Builtin::kArraySingleArgumentConstructor_##kind_camel##_##mode_camel)
212 std::memory_order order) {
213 if (order == std::memory_order_relaxed) {
216 ? Builtin::kTSANRelaxedStore8IgnoreFP
217 : Builtin::kTSANRelaxedStore8SaveFP;
220 ? Builtin::kTSANRelaxedStore16IgnoreFP
221 : Builtin::kTSANRelaxedStore16SaveFP;
224 ? Builtin::kTSANRelaxedStore32IgnoreFP
225 : Builtin::kTSANRelaxedStore32SaveFP;
229 ? Builtin::kTSANRelaxedStore64IgnoreFP
230 : Builtin::kTSANRelaxedStore64SaveFP;
233 DCHECK_EQ(order, std::memory_order_seq_cst);
236 ? Builtin::kTSANSeqCstStore8IgnoreFP
237 : Builtin::kTSANSeqCstStore8SaveFP;
240 ? Builtin::kTSANSeqCstStore16IgnoreFP
241 : Builtin::kTSANSeqCstStore16SaveFP;
244 ? Builtin::kTSANSeqCstStore32IgnoreFP
245 : Builtin::kTSANSeqCstStore32SaveFP;
249 ? Builtin::kTSANSeqCstStore64IgnoreFP
250 : Builtin::kTSANSeqCstStore64SaveFP;
259 ? Builtin::kTSANRelaxedLoad32IgnoreFP
260 : Builtin::kTSANRelaxedLoad32SaveFP;
264 ? Builtin::kTSANRelaxedLoad64IgnoreFP
265 : Builtin::kTSANRelaxedLoad64SaveFP;
static bool ShouldTrack(ElementsKind boilerplate_elements_kind)
static constexpr Builtin CallFunction(ConvertReceiverMode=ConvertReceiverMode::kAny)
static constexpr Builtin LoadGlobalICInOptimizedCode(TypeofMode typeof_mode)
static constexpr Builtin Call(ConvertReceiverMode=ConvertReceiverMode::kAny)
static constexpr Builtin StringAdd(StringAddFlags flags=STRING_ADD_CHECK_NONE)
static constexpr Builtin CEntry(int result_size, ArgvMode argv_mode, bool builtin_exit_frame=false, bool switch_to_central_stack=false)
static constexpr Builtin LoadGlobalIC(TypeofMode typeof_mode)
static V8_EXPORT_PRIVATE Callable CallableFor(Isolate *isolate, Builtin builtin)
static Callable ConstructFunctionForwardVarargs(Isolate *isolate)
static Callable ConstructWithSpread(Isolate *isolate)
static Callable ArrayNoArgumentConstructor(Isolate *isolate, ElementsKind kind, AllocationSiteOverrideMode override_mode)
static DirectHandle< Code > RuntimeCEntry(Isolate *isolate, int result_size=1, bool switch_to_central_stack=false)
static Callable StringAdd(Isolate *isolate, StringAddFlags flags=STRING_ADD_CHECK_NONE)
static Callable Construct(Isolate *isolate)
static Handle< Code > CEntry(Isolate *isolate, int result_size=1, ArgvMode argv_mode=ArgvMode::kStack, bool builtin_exit_frame=false, bool switch_to_central_stack=false)
static Callable DefineNamedOwnIC(Isolate *isolate)
static Callable LoadGlobalICInOptimizedCode(Isolate *isolate, TypeofMode typeof_mode)
static Callable LoadGlobalIC(Isolate *isolate, TypeofMode typeof_mode)
static Callable CallWithArrayLike(Isolate *isolate)
static Callable Call_WithFeedback(Isolate *isolate, ConvertReceiverMode mode)
static Callable CallWithSpread(Isolate *isolate)
static Callable DefineNamedOwnICInOptimizedCode(Isolate *isolate)
static Callable Call(Isolate *isolate, ConvertReceiverMode mode=ConvertReceiverMode::kAny)
static Callable CallFunctionForwardVarargs(Isolate *isolate)
static Callable CallFunction(Isolate *isolate, ConvertReceiverMode mode=ConvertReceiverMode::kAny)
static Callable CallForwardVarargs(Isolate *isolate)
static Callable FastNewFunctionContext(Isolate *isolate, ScopeType scope_type)
static Callable ConstructForwardVarargs(Isolate *isolate)
static Callable ArraySingleArgumentConstructor(Isolate *isolate, ElementsKind kind, AllocationSiteOverrideMode override_mode)
DONT_OVERRIDE DISABLE_ALLOCATION_SITES Holey
constexpr bool IsSmiElementsKind(ElementsKind kind)
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES HoleyDouble
AllocationSiteOverrideMode
@ DISABLE_ALLOCATION_SITES
DONT_OVERRIDE DISABLE_ALLOCATION_SITES HOLEY_ELEMENTS
DONT_OVERRIDE DISABLE_ALLOCATION_SITES DISABLE_ALLOCATION_SITES HOLEY_DOUBLE_ELEMENTS
DONT_OVERRIDE DisableAllocationSites
#define CHECK_EQ(lhs, rhs)
#define DCHECK(condition)
#define DCHECK_EQ(v1, v2)