v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
js-function.h
Go to the documentation of this file.
1// Copyright 2020 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_OBJECTS_JS_FUNCTION_H_
6#define V8_OBJECTS_JS_FUNCTION_H_
7
8#include <optional>
9
12
13// Has to be the last include (doesn't have include guards):
15
16namespace v8::internal {
17
18class AbstractCode;
19class ClosureFeedbackCellArray;
20
21#include "torque-generated/src/objects/js-function-tq.inc"
22
23// An abstract superclass for classes representing JavaScript function values.
24// It doesn't carry any functionality but allows function classes to be
25// identified in the type system.
27 : public TorqueGeneratedJSFunctionOrBoundFunctionOrWrappedFunction<
28 JSFunctionOrBoundFunctionOrWrappedFunction, JSObject> {
29 public:
30 static const int kLengthDescriptorIndex = 0;
31 static const int kNameDescriptorIndex = 1;
32
33 // https://tc39.es/proposal-shadowrealm/#sec-copynameandlength
35 Isolate* isolate,
38 int arg_count);
39
40 static_assert(kHeaderSize == JSObject::kHeaderSize);
42};
43
44// JSBoundFunction describes a bound function exotic object.
46 : public TorqueGeneratedJSBoundFunction<
47 JSBoundFunction, JSFunctionOrBoundFunctionOrWrappedFunction> {
48 public:
49 static MaybeHandle<String> GetName(Isolate* isolate,
51 static Maybe<int> GetLength(Isolate* isolate,
53
54 // Dispatched behavior.
57
58 // The bound function's string representation implemented according
59 // to ES6 section 19.2.3.5 Function.prototype.toString ( ).
61
63};
64
65// JSWrappedFunction describes a wrapped function exotic object.
67 : public TorqueGeneratedJSWrappedFunction<
68 JSWrappedFunction, JSFunctionOrBoundFunctionOrWrappedFunction> {
69 public:
70 static MaybeHandle<String> GetName(Isolate* isolate,
72 static Maybe<int> GetLength(Isolate* isolate,
74 // https://tc39.es/proposal-shadowrealm/#sec-wrappedfunctioncreate
76 Isolate* isolate, DirectHandle<NativeContext> creation_context,
78
79 // Dispatched behavior.
82
83 // The wrapped function's string representation implemented according
84 // to ES6 section 19.2.3.5 Function.prototype.toString ( ).
87
89};
90
92
93// JSFunction describes JavaScript functions.
94class JSFunction : public TorqueGeneratedJSFunction<
95 JSFunction, JSFunctionOrBoundFunctionOrWrappedFunction> {
96 public:
97 // [prototype_or_initial_map]:
98 DECL_RELEASE_ACQUIRE_ACCESSORS(prototype_or_initial_map,
100
101 void TraceOptimizationStatus(const char* reason, ...);
102
103 // [shared]: The information about the function that can be shared by
104 // instances.
107
108 // Fast binding requires length and name accessors.
110
111 // [context]: The context for this function.
112 inline Tagged<Context> context();
114 inline bool has_context() const;
115 using TorqueGeneratedClass::context;
116 using TorqueGeneratedClass::set_context;
120 inline int length();
121
122 static Handle<String> GetName(Isolate* isolate,
123 DirectHandle<JSFunction> function);
124
125 // [code]: The generated code object for this function. Executed
126 // when the function is invoked, e.g. foo() or new foo(). See
127 // [[Call]] and [[Construct]] description in ECMA-262, section
128 // 8.6.2, page 27.
129 // Release/Acquire accessors are used when storing a newly-created
130 // optimized code object, or when reading from the background thread.
131 // Storing a builtin doesn't require release semantics because these objects
132 // are fully initialized.
134
135 inline void UpdateOptimizedCode(
136 Isolate* isolate, Tagged<Code> code,
138 inline void UpdateCode(
139 Tagged<Code> code,
142 Tagged<Code> code,
144
145 // Returns the raw content of the Code field. When reading from a background
146 // thread, the code field may still be uninitialized, in which case the field
147 // contains Smi::zero().
148 inline Tagged<Object> raw_code(IsolateForSandbox isolate) const;
149 inline Tagged<Object> raw_code(IsolateForSandbox isolate,
150 AcquireLoadTag) const;
151
152 // Returns the address of the function code's instruction start.
153 inline Address instruction_start(IsolateForSandbox isolate) const;
154
155 // Get the abstract code associated with the function, which will either be
156 // an InstructionStream object or a BytecodeArray.
157 template <typename IsolateT>
158 inline Tagged<AbstractCode> abstract_code(IsolateT* isolate);
159
160#ifdef V8_ENABLE_LEAPTIERING
161 static inline JSDispatchHandle AllocateDispatchHandle(
162 Handle<JSFunction> function, Isolate* isolate, uint16_t parameter_count,
165 inline void clear_dispatch_handle();
166 inline JSDispatchHandle dispatch_handle() const;
167 inline JSDispatchHandle dispatch_handle(AcquireLoadTag) const;
168 inline void set_dispatch_handle(
171#endif // V8_ENABLE_LEAPTIERING
172
173 // The predicates for querying code kinds related to this function have
174 // specific terminology:
175 //
176 // - Attached: all code kinds that are directly attached to this JSFunction
177 // object.
178 // - Available: all code kinds that are either attached or available through
179 // indirect means such as the feedback vector's optimized code cache.
180 // - Active: the single code kind that would be executed if this function
181 // were called in its current state. Note that there may not be an active
182 // code kind if the function is not compiled. Also, asm/wasm functions are
183 // currently not supported.
184 //
185 // Note: code objects that are marked_for_deoptimization are not part of the
186 // attached/available/active sets. This is because the JSFunction might have
187 // been already deoptimized but its code() still needs to be unlinked, which
188 // will happen on its next activation.
189
191 CodeKind kind) const;
192 // As above but only considers available code kinds passing the filter mask.
195 CodeKinds filter_mask) const;
196
197 // True, iff any generated code kind is attached/available to this function.
199 IsolateForSandbox isolate) const;
201
204
205 std::optional<CodeKind> GetActiveTier(IsolateForSandbox isolate) const;
207 bool ActiveTierIsBaseline(IsolateForSandbox isolate) const;
208 bool ActiveTierIsMaglev(IsolateForSandbox isolate) const;
209 bool ActiveTierIsTurbofan(IsolateForSandbox isolate) const;
210
211 // Similar to SharedFunctionInfo::CanDiscardCompiled. Returns true, if the
212 // attached code can be recreated at a later point by replacing it with
213 // CompileLazy.
214 bool CanDiscardCompiled(IsolateForSandbox isolate) const;
215
216 // Tells whether function's code object checks its tiering state (some code
217 // kinds, e.g. TURBOFAN, ignore the tiering state).
218 inline bool ChecksTieringState(IsolateForSandbox isolate);
219
220#ifndef V8_ENABLE_LEAPTIERING
221 inline TieringState tiering_state() const;
222#endif // !V8_ENABLE_LEAPTIERING
223
224 // Tiering up a function happens as follows:
225 // 1. RequestOptimization is called
226 // -> From now on `IsOptimizationRequested` and also
227 // `IsTieringRequestedOrInProgress` return true.
228 // 2. On the next function invocation the optimization is triggered. While the
229 // optimization progresses in the background both
230 // `IsTieringRequestedOrInProgress` and `tiering_in_progress` return
231 // true. It also means the optimization is no longer requested (i.e.,
232 // `IsOptimizationRequested` returns false).
233 // 3. Once the compilation job is finalized the functions code is installed
234 // via `UpdateCode` and any remaining flags cleared by
235 // `ResetTieringRequests`.
236 // NB: Osr tiering state is tracked separately from these.
237
238 // Mark this function for optimization. The function will be recompiled
239 // the next time it is executed.
240 void RequestOptimization(Isolate* isolate, CodeKind target_kind,
242
243 inline bool IsLoggingRequested(Isolate* isolate) const;
244 inline bool IsOptimizationRequested(Isolate* isolate) const;
245 inline bool IsMaglevRequested(Isolate* isolate) const;
246 inline bool IsTurbofanRequested(Isolate* isolate) const;
247 V8_INLINE std::optional<CodeKind> GetRequestedOptimizationIfAny(
248 Isolate* isolate,
250
251 inline bool tiering_in_progress() const;
252 // NB: Tiering includes Optimization and Logging requests.
253 inline bool IsTieringRequestedOrInProgress() const;
254
255 inline void SetTieringInProgress(
256 bool in_progress, BytecodeOffset osr_offset = BytecodeOffset::None());
257 inline void ResetTieringRequests();
258
259 inline bool osr_tiering_in_progress();
260
261 // Sets the interrupt budget based on whether the function has a feedback
262 // vector and any optimized code.
264 std::optional<CodeKind> override_active_tier = {});
265
266 // If slack tracking is active, it computes instance size of the initial map
267 // with minimum permissible object slack. If it is not active, it simply
268 // returns the initial map's instance size.
270
271 // Completes inobject slack tracking on initial map if it is active.
273
274 // [raw_feedback_cell]: Gives raw access to the FeedbackCell used to hold the
276 // feedback_vector, instead use feedback_vector() which correctly deals with
277 // the JSFunction's bytecode being flushed.
279
280 // [raw_feedback_cell] (synchronized version) When this is initialized from a
281 // newly allocated object (instead of a root sentinel), it should
282 // be written with release store semantics.
284
285 // Functions related to feedback vector. feedback_vector() can be used once
286 // the function has feedback vectors allocated. feedback vectors may not be
287 // available after compile when lazily allocating feedback vectors.
288 DECL_GETTER(feedback_vector, Tagged<FeedbackVector>)
289 DECL_GETTER(has_feedback_vector, bool)
291 Isolate* isolate, DirectHandle<JSFunction> function,
292 IsCompiledScope* compiled_scope);
293 static void CreateAndAttachFeedbackVector(Isolate* isolate,
295 IsCompiledScope* compiled_scope);
296
297 // Functions related to closure feedback cell array that holds feedback cells
298 // used to create closures from this function. We allocate closure feedback
299 // cell arrays after compile, when we want to allocate feedback vectors
300 // lazily.
301 inline bool has_closure_feedback_cell_array() const;
304
305 // Initializes the feedback cell of |function|. In lite mode, this would be
306 // initialized to the closure feedback cell array that holds the feedback
307 // cells for create closure calls from this function. In the regular mode,
308 // this allocates feedback vector.
310 IsCompiledScope* compiled_scope,
311 bool reset_budget_for_feedback_allocation);
312
313 // Unconditionally clear the type feedback vector, even those that we usually
314 // keep (e.g.: BinaryOp feedback).
316
317 // Resets function to clear compiled data after bytecode has been flushed.
318 inline bool NeedsResetDueToFlushedBytecode(Isolate* isolate);
319 inline void ResetIfCodeFlushed(
320 Isolate* isolate,
321 std::optional<
322 std::function<void(Tagged<HeapObject> object, ObjectSlot slot,
323 Tagged<HeapObject> target)>>
324 gc_notify_updated_slot = std::nullopt);
325
326 // Returns if the closure's code field has to be updated because it has
327 // stale baseline code.
329
330 // Returns if baseline code is a candidate for flushing. This method is called
331 // from concurrent marking so we should be careful when accessing data fields.
333 base::EnumSet<CodeFlushMode> code_flush_mode);
334
336
337 // The initial map for an object created by this constructor.
338 DECL_GETTER(initial_map, Tagged<Map>)
339
340 static void SetInitialMap(Isolate* isolate, DirectHandle<JSFunction> function,
342 DirectHandle<JSPrototype> prototype);
343 static void SetInitialMap(Isolate* isolate, DirectHandle<JSFunction> function,
346 DirectHandle<JSFunction> constructor);
347
348 DECL_GETTER(has_initial_map, bool)
350 DirectHandle<JSFunction> function);
351
352 // Creates a map that matches the constructor's initial map, but with
353 // [[prototype]] being new.target.prototype. Because new.target can be a
354 // JSProxy, this can call back into JavaScript.
356 Isolate* isolate, DirectHandle<JSFunction> constructor,
358
359 // Like GetDerivedMap, but returns a map with a RAB / GSAB ElementsKind.
362 DirectHandle<JSFunction> constructor,
364
365 // Like GetDerivedMap, but can be used for DataViews for retrieving / creating
366 // a map with a JS_RAB_GSAB_DATA_VIEW instance type.
370
371 // Get and set the prototype property on a JSFunction. If the
372 // function has an initial map the prototype is set on the initial
373 // map. Otherwise, the prototype is put in the initial map field
374 // until an initial map is needed.
375 DECL_GETTER(has_prototype, bool)
376 DECL_GETTER(has_instance_prototype, bool)
377 DECL_GETTER(prototype, Tagged<Object>)
378 DECL_GETTER(instance_prototype, Tagged<JSPrototype>)
379 DECL_GETTER(has_prototype_property, bool)
380 DECL_GETTER(PrototypeRequiresRuntimeLookup, bool)
381 static void SetPrototype(DirectHandle<JSFunction> function,
383
384 // Returns if this function has been compiled to native code yet.
385 inline bool is_compiled(IsolateForSandbox isolate) const;
386
387 static int GetHeaderSize(bool function_has_prototype_slot) {
388 return function_has_prototype_slot ? JSFunction::kSizeWithPrototype
390 }
391
392 std::unique_ptr<char[]> DebugNameCStr();
393 void PrintName(FILE* out = stdout);
394
395 // Calculate the instance size and in-object properties count.
396 // {CalculateExpectedNofProperties} can trigger compilation.
398 Isolate* isolate, DirectHandle<JSFunction> function);
399 static void CalculateInstanceSizeHelper(InstanceType instance_type,
401 int requested_embedder_fields,
402 int requested_in_object_properties,
403 int* instance_size,
404 int* in_object_properties);
405
406 // Dispatched behavior.
409
411
412 // ES6 section 9.2.11 SetFunctionName
413 // Because of the way this abstract operation is used in the spec,
414 // it should never fail, but in practice it will fail if the generated
415 // function name's length exceeds String::kMaxLength.
417 DirectHandle<Name> name,
418 DirectHandle<String> prefix);
419
420 // The function's name if it is configured, otherwise shared function info
421 // debug name.
423
424 // The function's string representation implemented according to
425 // ES6 section 19.2.3.5 Function.prototype.toString ( ).
427
428 class BodyDescriptor;
429
430 // Returns the set of code kinds of compilation artifacts (bytecode,
431 // generated code) attached to this JSFunction.
432 // Note that attached code objects that are marked_for_deoptimization are not
433 // included in this set.
434 // Also considers locations outside of this JSFunction. For example the
435 // optimized code cache slot in the feedback vector, and the shared function
436 // info.
438
439 private:
440 // JSFunction doesn't have a fixed header size:
441 // Hide TorqueGeneratedClass::kHeaderSize to avoid confusion.
442 static const int kHeaderSize;
443
444#ifndef V8_ENABLE_LEAPTIERING
445 inline void set_tiering_state(IsolateForSandbox isolate, TieringState state);
446#endif // !V8_ENABLE_LEAPTIERING
447
448 inline void UpdateCodeImpl(Tagged<Code> code, WriteBarrierMode mode,
449 bool keep_tiering_request);
450
451 // Updates the Code in this function's dispatch table entry.
453 Tagged<Code> new_code,
456 Tagged<Code> new_code,
458
459 // Hide generated accessors; custom accessors are called "shared".
460 DECL_ACCESSORS(shared_function_info, Tagged<SharedFunctionInfo>)
461
462 // Hide generated accessors; custom accessors are called "raw_feedback_cell".
464
465 // Returns the set of code kinds of compilation artifacts (bytecode,
466 // generated code) attached to this JSFunction.
467 // Note that attached code objects that are marked_for_deoptimization are not
468 // included in this set.
469 // TODO(jgruber): Currently at most one code kind can be attached. Consider
470 // adding a NOT_COMPILED kind and changing this function to simply return the
471 // kind if this becomes more convenient in the future.
473
474 public:
475 static constexpr int kSizeWithoutPrototype = kPrototypeOrInitialMapOffset;
476 static constexpr int kSizeWithPrototype = TorqueGeneratedClass::kHeaderSize;
477
479};
480
481} // namespace v8::internal
482
484
485#endif // V8_OBJECTS_JS_FUNCTION_H_
int16_t parameter_count
Definition builtins.cc:67
Builtins::Kind kind
Definition builtins.cc:40
static constexpr BytecodeOffset None()
Definition utils.h:675
static MaybeHandle< String > GetName(Isolate *isolate, DirectHandle< JSBoundFunction > function)
static Maybe< int > GetLength(Isolate *isolate, DirectHandle< JSBoundFunction > function)
static DirectHandle< String > ToString(DirectHandle< JSBoundFunction > function)
static Maybe< bool > CopyNameAndLength(Isolate *isolate, DirectHandle< JSFunctionOrBoundFunctionOrWrappedFunction > function, DirectHandle< JSReceiver > target, DirectHandle< String > prefix, int arg_count)
std::unique_ptr< char[]> DebugNameCStr()
void UpdateCodeImpl(Tagged< Code > code, WriteBarrierMode mode, bool keep_tiering_request)
static void CalculateInstanceSizeHelper(InstanceType instance_type, bool has_prototype_slot, int requested_embedder_fields, int requested_in_object_properties, int *instance_size, int *in_object_properties)
void UpdateDispatchEntryKeepTieringRequest(Tagged< Code > new_code, WriteBarrierMode mode=WriteBarrierMode::UPDATE_WRITE_BARRIER)
void RequestOptimization(Isolate *isolate, CodeKind target_kind, ConcurrencyMode mode=ConcurrencyMode::kConcurrent)
bool HasAvailableHigherTierCodeThan(IsolateForSandbox isolate, CodeKind kind) const
TieringState tiering_state() const
static void SetPrototype(DirectHandle< JSFunction > function, DirectHandle< Object > value)
static constexpr int kSizeWithPrototype
int ComputeInstanceSizeWithMinSlack(Isolate *isolate)
static const int kHeaderSize
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< Map > GetDerivedRabGsabDataViewMap(Isolate *isolate, DirectHandle< JSReceiver > new_target)
static V8_WARN_UNUSED_RESULT bool SetName(DirectHandle< JSFunction > function, DirectHandle< Name > name, DirectHandle< String > prefix)
static V8_EXPORT_PRIVATE void EnsureFeedbackVector(Isolate *isolate, DirectHandle< JSFunction > function, IsCompiledScope *compiled_scope)
FeedbackVector eventually. Generally this shouldn't be used to get the.
static V8_WARN_UNUSED_RESULT int CalculateExpectedNofProperties(Isolate *isolate, DirectHandle< JSFunction > function)
Address instruction_start(IsolateForSandbox isolate) const
bool IsMaglevRequested(Isolate *isolate) const
static Handle< String > GetName(Isolate *isolate, DirectHandle< JSFunction > function)
bool HasAvailableCodeKind(IsolateForSandbox isolate, CodeKind kind) const
void UpdateCodeKeepTieringRequests(Tagged< Code > code, WriteBarrierMode mode=WriteBarrierMode::UPDATE_WRITE_BARRIER)
bool NeedsResetDueToFlushedBaselineCode(IsolateForSandbox isolate)
bool HasAvailableHigherTierCodeThanWithFilter(IsolateForSandbox isolate, CodeKind kind, CodeKinds filter_mask) const
void set_tiering_state(IsolateForSandbox isolate, TieringState state)
static constexpr int kSizeWithoutPrototype
CodeKinds GetAttachedCodeKinds(IsolateForSandbox isolate) const
Tagged< Object > raw_code(IsolateForSandbox isolate) const
bool HasAvailableOptimizedCode(IsolateForSandbox isolate) const
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< Map > GetDerivedRabGsabTypedArrayMap(Isolate *isolate, DirectHandle< JSFunction > constructor, DirectHandle< JSReceiver > new_target)
bool has_closure_feedback_cell_array() const
bool ActiveTierIsMaglev(IsolateForSandbox isolate) const
void UpdateOptimizedCode(Isolate *isolate, Tagged< Code > code, WriteBarrierMode mode=WriteBarrierMode::UPDATE_WRITE_BARRIER)
static V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT MaybeHandle< Map > GetDerivedMap(Isolate *isolate, DirectHandle< JSFunction > constructor, DirectHandle< JSReceiver > new_target)
static DirectHandle< String > GetDebugName(DirectHandle< JSFunction > function)
static const int kMinDescriptorsForFastBindAndWrap
bool HasAttachedCodeKind(IsolateForSandbox isolate, CodeKind kind) const
DECL_RELEASE_ACQUIRE_ACCESSORS(prototype_or_initial_map, Tagged< UnionOf< JSPrototype, Map, Hole > >) void TraceOptimizationStatus(const char *reason
bool is_compiled(IsolateForSandbox isolate) const
static void InitializeFeedbackCell(DirectHandle< JSFunction > function, IsCompiledScope *compiled_scope, bool reset_budget_for_feedback_allocation)
static V8_EXPORT_PRIVATE void EnsureHasInitialMap(DirectHandle< JSFunction > function)
bool IsTurbofanRequested(Isolate *isolate) const
bool ActiveTierIsBaseline(IsolateForSandbox isolate) const
void UpdateDispatchEntry(Tagged< Code > new_code, WriteBarrierMode mode=WriteBarrierMode::UPDATE_WRITE_BARRIER)
static void EnsureClosureFeedbackCellArray(DirectHandle< JSFunction > function)
static DirectHandle< String > ToString(DirectHandle< JSFunction > function)
Tagged< ClosureFeedbackCellArray > closure_feedback_cell_array() const
CodeKinds GetAvailableCodeKinds(IsolateForSandbox isolate) const
Tagged< NativeContext > native_context()
V8_EXPORT_PRIVATE bool HasAttachedOptimizedCode(IsolateForSandbox isolate) const
static int GetHeaderSize(bool function_has_prototype_slot)
void SetInterruptBudget(Isolate *isolate, BudgetModification kind, std::optional< CodeKind > override_active_tier={})
static void SetInitialMap(Isolate *isolate, DirectHandle< JSFunction > function, DirectHandle< Map > map, DirectHandle< JSPrototype > prototype)
bool IsLoggingRequested(Isolate *isolate) const
bool IsTieringRequestedOrInProgress() const
bool ActiveTierIsTurbofan(IsolateForSandbox isolate) const
static void CreateAndAttachFeedbackVector(Isolate *isolate, DirectHandle< JSFunction > function, IsCompiledScope *compiled_scope)
void SetTieringInProgress(bool in_progress, BytecodeOffset osr_offset=BytecodeOffset::None())
bool ChecksTieringState(IsolateForSandbox isolate)
Tagged< JSGlobalProxy > global_proxy()
std::optional< CodeKind > GetActiveTier(IsolateForSandbox isolate) const
V8_INLINE std::optional< CodeKind > GetRequestedOptimizationIfAny(Isolate *isolate, ConcurrencyMode mode=ConcurrencyMode::kConcurrent) const
bool IsOptimizationRequested(Isolate *isolate) const
void ResetIfCodeFlushed(Isolate *isolate, std::optional< std::function< void(Tagged< HeapObject > object, ObjectSlot slot, Tagged< HeapObject > target)> > gc_notify_updated_slot=std::nullopt)
bool NeedsResetDueToFlushedBytecode(Isolate *isolate)
bool ShouldFlushBaselineCode(base::EnumSet< CodeFlushMode > code_flush_mode)
bool CanDiscardCompiled(IsolateForSandbox isolate) const
V8_EXPORT_PRIVATE bool ActiveTierIsIgnition(IsolateForSandbox isolate) const
Tagged< AbstractCode > abstract_code(IsolateT *isolate)
void UpdateCode(Tagged< Code > code, WriteBarrierMode mode=WriteBarrierMode::UPDATE_WRITE_BARRIER)
void PrintName(FILE *out=stdout)
static DirectHandle< String > ToString(DirectHandle< JSWrappedFunction > function)
static Maybe< int > GetLength(Isolate *isolate, DirectHandle< JSWrappedFunction > function)
static MaybeDirectHandle< Object > Create(Isolate *isolate, DirectHandle< NativeContext > creation_context, DirectHandle< JSReceiver > value)
static MaybeHandle< String > GetName(Isolate *isolate, DirectHandle< JSWrappedFunction > function)
DirectHandle< Object > new_target
Definition execution.cc:75
V8_INLINE IndirectHandle< T > handle(Tagged< T > object, Isolate *isolate)
Definition handles-inl.h:72
@ UPDATE_WRITE_BARRIER
Definition objects.h:55
typename detail::FlattenUnionHelper< Union<>, Ts... >::type UnionOf
Definition union.h:123
#define DECL_ACCESSORS(name,...)
#define DECL_GETTER(name,...)
#define DECL_VERIFIER(Name)
#define DECL_TRUSTED_POINTER_GETTERS(name, type)
#define DECL_RELAXED_GETTER(name,...)
#define DECL_PRINTER(Name)
#define DECL_RELEASE_ACQUIRE_ACCESSORS(name,...)
#define TQ_OBJECT_CONSTRUCTORS(Type)
#define V8_EXPORT_PRIVATE
Definition macros.h:460
#define V8_INLINE
Definition v8config.h:500
#define V8_WARN_UNUSED_RESULT
Definition v8config.h:671