![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-traced-handle.h>
Public Member Functions | |
V8_INLINE void | Reset () |
V8_INLINE Local< Data > | Get (Isolate *isolate) const |
bool | IsEmptyThreadSafe () const |
![]() | |
V8_INLINE bool | IsEmpty () const |
V8_INLINE void | Clear () |
Protected Member Functions | |
V8_INLINE | TracedReferenceBase ()=default |
void | SetSlotThreadSafe (internal::Address *new_val) |
const internal::Address * | GetSlotThreadSafe () const |
V8_EXPORT void | CheckValue () const |
![]() | |
V8_INLINE | IndirectHandleBase ()=default |
V8_INLINE | IndirectHandleBase (const IndirectHandleBase &other)=default |
V8_INLINE IndirectHandleBase & | operator= (const IndirectHandleBase &that)=default |
V8_INLINE | IndirectHandleBase (internal::Address *location) |
V8_INLINE internal::Address | ptr () const |
V8_INLINE internal::Address *const & | slot () const |
V8_INLINE internal::Address *& | slot () |
template<typename T , bool check_null = false> | |
V8_INLINE T * | value () const |
V8_INLINE internal::ValueHelper::InternalRepresentationType | repr () const |
Friends | |
class | internal::BasicTracedReferenceExtractor |
template<typename F > | |
class | Local |
template<typename U > | |
bool | operator== (const TracedReferenceBase &lhs, const Local< U > &rhs) |
bool | operator== (const TracedReferenceBase &lhs, const TracedReferenceBase &rhs) |
An indirect handle, where the indirect pointer points to a GlobalHandles node.
Definition at line 54 of file v8-traced-handle.h.
|
protecteddefault |
|
protected |
Construct a Local<Data> from this handle.
Definition at line 68 of file v8-traced-handle.h.
|
inlineprotected |
Get this reference in a thread-safe way
Definition at line 93 of file v8-traced-handle.h.
|
inline |
Returns true if this TracedReference is empty, i.e., has not been assigned an object. This version of IsEmpty is thread-safe.
Definition at line 77 of file v8-traced-handle.h.
void v8::TracedReferenceBase::Reset | ( | ) |
If non-empty, destroy the underlying storage cell. |IsEmpty| will return true after this call.
Definition at line 309 of file v8-traced-handle.h.
|
inlineprotected |
Update this reference in a thread-safe way.
Definition at line 85 of file v8-traced-handle.h.
|
friend |
Definition at line 100 of file v8-traced-handle.h.
Definition at line 102 of file v8-traced-handle.h.
|
friend |
Definition at line 323 of file v8-traced-handle.h.
|
friend |
Definition at line 317 of file v8-traced-handle.h.