v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
heap-object.h File Reference
Include dependency graph for heap-object.h:

Go to the source code of this file.

Classes

class  v8::internal::HeapObjectLayout
 
struct  v8::internal::ObjectTraits< T >
 
class  v8::internal::HeapObject
 
struct  v8::internal::HeapObject::SkipTypeCheckTag
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define IS_TYPE_FUNCTION_DECL(Type)
 
#define IS_TYPE_FUNCTION_DECL(Type, Value, _)
 
#define DECL_STRUCT_PREDICATE(NAME, Name, name)
 

Functions

bool v8::internal::operator== (const HeapObjectLayout *obj, StrongTaggedBase ptr)
 
bool v8::internal::operator== (StrongTaggedBase ptr, const HeapObjectLayout *obj)
 
bool v8::internal::operator!= (const HeapObjectLayout *obj, StrongTaggedBase ptr)
 
bool v8::internal::operator!= (StrongTaggedBase ptr, const HeapObjectLayout *obj)
 
V8_INLINE bool v8::internal::OutsideSandboxOrInReadonlySpace (Tagged< HeapObject > obj)
 
V8_INLINE constexpr bool v8::internal::FastInReadOnlySpaceOrSmallSmi (Tagged_t obj)
 
V8_INLINE constexpr bool v8::internal::FastInReadOnlySpaceOrSmallSmi (Tagged< MaybeObject > obj)
 

Macro Definition Documentation

◆ DECL_STRUCT_PREDICATE

#define DECL_STRUCT_PREDICATE ( NAME,
Name,
name )
Value:
V8_INLINE bool Is##Name(Tagged<HeapObject> obj); \
V8_INLINE bool Is##Name(Tagged<HeapObject> obj, PtrComprCageBase cage_base); \
V8_INLINE bool Is##Name(HeapObject obj); \
V8_INLINE bool Is##Name(HeapObject obj, PtrComprCageBase cage_base); \
V8_INLINE bool Is##Name(const HeapObjectLayout* obj); \
V8_INLINE bool Is##Name(const HeapObjectLayout* obj, \
PtrComprCageBase cage_base);
#define V8_INLINE
Definition v8config.h:500

Definition at line 593 of file heap-object.h.

◆ IS_TYPE_FUNCTION_DECL [1/2]

#define IS_TYPE_FUNCTION_DECL ( Type)
Value:
V8_INLINE bool Is##Type(Tagged<HeapObject> obj); \
V8_INLINE bool Is##Type(Tagged<HeapObject> obj, PtrComprCageBase cage_base); \
V8_INLINE bool Is##Type(HeapObject obj); \
V8_INLINE bool Is##Type(HeapObject obj, PtrComprCageBase cage_base); \
V8_INLINE bool Is##Type(const HeapObjectLayout* obj); \
V8_INLINE bool Is##Type(const HeapObjectLayout* obj, \
PtrComprCageBase cage_base);

Definition at line 567 of file heap-object.h.

◆ IS_TYPE_FUNCTION_DECL [2/2]

#define IS_TYPE_FUNCTION_DECL ( Type,
Value,
_ )
Value:
V8_INLINE bool Is##Type(Tagged<HeapObject> obj); \
V8_INLINE bool Is##Type(HeapObject obj); \
V8_INLINE bool Is##Type(const HeapObjectLayout* obj, Isolate* isolate); \
V8_INLINE bool Is##Type(const HeapObjectLayout* obj);

Definition at line 567 of file heap-object.h.