v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
map.h File Reference
#include <optional>
#include "include/v8-memory-span.h"
#include "src/base/bit-field.h"
#include "src/base/small-vector.h"
#include "src/common/globals.h"
#include "src/objects/code.h"
#include "src/objects/fixed-array.h"
#include "src/objects/heap-object.h"
#include "src/objects/instance-type-checker.h"
#include "src/objects/internal-index.h"
#include "src/objects/objects.h"
#include "src/objects/prototype-info.h"
#include "src/roots/roots.h"
#include "torque-generated/bit-fields.h"
#include "torque-generated/visitor-lists.h"
#include "src/objects/object-macros.h"
#include "torque-generated/src/objects/map-tq.inc"
#include "src/objects/object-macros-undef.h"
Include dependency graph for map.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::Map
 
struct  v8::internal::Map::Bits1
 
struct  v8::internal::Map::Bits2
 
struct  v8::internal::Map::Bits3
 
class  v8::internal::Map::FieldCounts
 
class  v8::internal::NormalizedMapCache
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define DATA_ONLY_VISITOR_ID_LIST(V)
 
#define POINTER_VISITOR_ID_LIST(V)
 
#define TORQUE_VISITOR_ID_LIST(V)
 
#define TRUSTED_VISITOR_ID_LIST(V)
 
#define VISITOR_ID_ENUM_DECL(id)
 
#define MAKE_CASE(TYPE, Name, name)
 
#define DECL_TESTER(Type, ...)
 

Typedefs

using v8::internal::MapHandles
 
using v8::internal::MapHandlesSpan = v8::MemorySpan<DirectHandle<Map>>
 

Enumerations

enum  v8::internal::VisitorId { v8::internal::kDataOnlyVisitorIdCount , v8::internal::kVisitorIdCount }
 
enum class  v8::internal::ObjectFields { v8::internal::kDataOnly , v8::internal::kMaybePointers }
 

Functions

bool v8::internal::IsBooleanMap (Tagged< Map > map)
 
bool v8::internal::IsNullOrUndefinedMap (Tagged< Map > map)
 
bool v8::internal::IsPrimitiveMap (Tagged< Map > map)
 
bool v8::internal::IsSpecialReceiverMap (Tagged< Map > map)
 
bool v8::internal::IsCustomElementsReceiverMap (Tagged< Map > map)
 

Macro Definition Documentation

◆ DATA_ONLY_VISITOR_ID_LIST

#define DATA_ONLY_VISITOR_ID_LIST ( V)
Value:
V(BigInt) \
V(CoverageInfo) \
V(FeedbackMetadata) \
V(Filler) \
V(HeapNumber) \
V(SeqOneByteString) \
V(SeqTwoByteString) \
IF_WASM(V, WasmNull)
#define V(Name)

Definition at line 34 of file map.h.

◆ DECL_TESTER

#define DECL_TESTER ( Type,
... )
Value:
inline bool Is##Type##Map(Tagged<Map> map);

Definition at line 1108 of file map.h.

◆ MAKE_CASE

#define MAKE_CASE ( TYPE,
Name,
name )
Value:
case TYPE: \
return RootIndex::k##Name##Map;

◆ POINTER_VISITOR_ID_LIST

#define POINTER_VISITOR_ID_LIST ( V)

Definition at line 44 of file map.h.

◆ TORQUE_VISITOR_ID_LIST

#define TORQUE_VISITOR_ID_LIST ( V)
Value:
TORQUE_DATA_ONLY_VISITOR_ID_LIST(V) \
TORQUE_POINTER_VISITOR_ID_LIST(V)

Definition at line 117 of file map.h.

◆ TRUSTED_VISITOR_ID_LIST

#define TRUSTED_VISITOR_ID_LIST ( V)
Value:

Definition at line 121 of file map.h.

◆ VISITOR_ID_ENUM_DECL

#define VISITOR_ID_ENUM_DECL ( id)
Value:
kVisit##id,

Definition at line 128 of file map.h.