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

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define PROMO_CANDIDATE_TYPE_LIST(V)
 
#define V(TYPE)
 
#define DEF_PROMO_CANDIDATE(Type)
 

Macro Definition Documentation

◆ DEF_PROMO_CANDIDATE

#define DEF_PROMO_CANDIDATE ( Type)
Value:
static bool IsPromoCandidate##Type(Committee* committee, Isolate* isolate, \
Tagged<Type> o) { \
return true; \
}

Definition at line 186 of file read-only-promotion.cc.

◆ PROMO_CANDIDATE_TYPE_LIST

#define PROMO_CANDIDATE_TYPE_LIST ( V)
Value:
V(AccessCheckInfo) \
V(AccessorInfo) \
V(Code) \
V(CodeWrapper) \
V(JSExternalObject) \
V(FunctionTemplateInfo) \
V(InterceptorInfo) \
V(ScopeInfo) \
V(SharedFunctionInfo) \
V(Symbol)
#define V(TYPE)

Definition at line 155 of file read-only-promotion.cc.

◆ V

#define V ( TYPE)
Value:
if (InstanceTypeChecker::Is##TYPE(itype)) { \
return IsPromoCandidate##TYPE(committee, isolate, Cast<TYPE>(o)); \
/* NOLINTNEXTLINE(readability/braces) */ \
} else

Variable Documentation

◆ accepted_subgraph_

HeapObjectSet* const accepted_subgraph_
private

Definition at line 294 of file read-only-promotion.cc.

◆ committee_

Committee* const committee_
private

Definition at line 293 of file read-only-promotion.cc.

◆ first_rejected_slot_offset_

int first_rejected_slot_offset_ = -1
private

Definition at line 297 of file read-only-promotion.cc.

◆ isolate_

Isolate* const isolate_
private

Definition at line 334 of file read-only-promotion.cc.

◆ moves_

const HeapObjectMap* moves_
private

Definition at line 661 of file read-only-promotion.cc.

◆ promo_accepted_

HeapObjectSet promo_accepted_
private

Definition at line 336 of file read-only-promotion.cc.

◆ promo_rejected_

HeapObjectSet promo_rejected_
private

Definition at line 337 of file read-only-promotion.cc.

◆ promotees_

HeapObjectList* const promotees_
private

Definition at line 296 of file read-only-promotion.cc.

◆ ref_encoder_

ExternalReferenceEncoder ref_encoder_
private

Definition at line 335 of file read-only-promotion.cc.

◆ visited_

HeapObjectSet* const visited_
private

Definition at line 295 of file read-only-promotion.cc.