#include <variables.h>
|
| Variable (Scope *scope, const AstRawString *name, VariableMode mode, VariableKind kind, InitializationFlag initialization_flag, MaybeAssignedFlag maybe_assigned_flag=kNotAssigned, IsStaticFlag is_static_flag=IsStaticFlag::kNotStatic) |
|
| Variable (Variable *other) |
|
Scope * | scope () const |
|
void | set_scope (Scope *scope) |
|
Handle< String > | name () const |
|
const AstRawString * | raw_name () const |
|
VariableMode | mode () const |
|
void | set_mode (VariableMode mode) |
|
void | set_is_static_flag (IsStaticFlag is_static_flag) |
|
IsStaticFlag | is_static_flag () const |
|
bool | is_static () const |
|
bool | has_forced_context_allocation () const |
|
void | ForceContextAllocation () |
|
bool | is_used () |
|
void | set_is_used () |
|
MaybeAssignedFlag | maybe_assigned () const |
|
void | clear_maybe_assigned () |
|
void | SetMaybeAssigned () |
|
bool | requires_brand_check () const |
|
int | initializer_position () |
|
void | set_initializer_position (int pos) |
|
bool | IsUnallocated () const |
|
bool | IsParameter () const |
|
bool | IsStackLocal () const |
|
bool | IsStackAllocated () const |
|
bool | IsContextSlot () const |
|
bool | IsLookupSlot () const |
|
bool | IsGlobalObjectProperty () const |
|
bool | IsReplGlobal () const |
|
bool | is_dynamic () const |
|
InitializationFlag | initialization_flag () const |
|
bool | binding_needs_init () const |
|
ForceHoleInitializationFlag | force_hole_initialization_flag_field () const |
|
bool | IsHoleInitializationForced () const |
|
bool | HasHoleCheckUseInSameClosureScope () const |
|
void | ForceHoleInitialization (ForceHoleInitializationFlag flag) |
|
void | ResetHoleCheckBitmapIndex () |
|
void | RememberHoleCheckInBitmap (HoleCheckBitmap &bitmap, ZoneVector< Variable * > &list) |
|
bool | HasRememberedHoleCheck (HoleCheckBitmap bitmap) const |
|
bool | throw_on_const_assignment (LanguageMode language_mode) const |
|
bool | is_this () const |
|
bool | is_sloppy_function_name () const |
|
bool | is_parameter () const |
|
bool | is_sloppy_block_function () |
|
Variable * | local_if_not_shadowed () const |
|
bool | has_local_if_not_shadowed () const |
|
void | set_local_if_not_shadowed (Variable *local) |
|
VariableLocation | location () const |
|
VariableKind | kind () const |
|
int | index () const |
|
bool | IsReceiver () const |
|
bool | IsExport () const |
|
void | AllocateTo (VariableLocation location, int index) |
|
void | MakeParameterNonSimple () |
|
void | RewriteLocationForRepl () |
|
void * | operator new (size_t, Zone *)=delete |
|
void * | operator new (size_t size, void *ptr) |
|
void | operator delete (void *, size_t) |
|
void | operator delete (void *pointer, Zone *zone)=delete |
|
|
using | VariableModeField = base::BitField16<VariableMode, 0, 4> |
|
using | VariableKindField = VariableModeField::Next<VariableKind, 3> |
|
using | LocationField = VariableKindField::Next<VariableLocation, 3> |
|
using | ForceContextAllocationBit = LocationField::Next<bool, 1> |
|
using | IsUsedField = ForceContextAllocationBit::Next<bool, 1> |
|
using | InitializationFlagField = IsUsedField::Next<InitializationFlag, 1> |
|
using | MaybeAssignedFlagField |
|
using | IsStaticFlagField = MaybeAssignedFlagField::Next<IsStaticFlag, 1> |
|
using | HoleCheckBitmapIndexField = base::BitField16<uint8_t, 0, 8> |
|
using | ForceHoleInitializationFlagField |
|
Definition at line 21 of file variables.h.
◆ ForceContextAllocationBit
◆ ForceHoleInitializationFlagField
using v8::internal::Variable::ForceHoleInitializationFlagField |
|
private |
Initial value:
BitField< T2, kShift+kSize, size2, U > Next
Definition at line 359 of file variables.h.
◆ HoleCheckBitmap
using v8::internal::Variable::HoleCheckBitmap = uint64_t |
◆ HoleCheckBitmapIndexField
using v8::internal::Variable::HoleCheckBitmapIndexField = base::BitField16<uint8_t, 0, 8> |
|
private |
◆ InitializationFlagField
◆ IsStaticFlagField
◆ IsUsedField
◆ List
◆ LocationField
◆ MaybeAssignedFlagField
using v8::internal::Variable::MaybeAssignedFlagField |
|
private |
◆ VariableKindField
◆ VariableModeField
◆ ForceHoleInitializationFlag
enum v8::internal::Variable::ForceHoleInitializationFlag |
Enumerator |
---|
kHoleInitializationNotForced | |
kHasHoleCheckUseInDifferentClosureScope | |
kHasHoleCheckUseInSameClosureScope | |
kHasHoleCheckUseInUnknownScope | |
Definition at line 172 of file variables.h.
◆ Variable() [1/2]
◆ Variable() [2/2]
v8::internal::Variable::Variable |
( |
Variable * | other | ) |
|
|
explicit |
◆ AllocateTo()
void v8::internal::Variable::AllocateTo |
( |
VariableLocation | location, |
|
|
int | index ) |
|
inline |
◆ AssignHoleCheckBitmapIndex()
void v8::internal::Variable::AssignHoleCheckBitmapIndex |
( |
ZoneVector< Variable * > & | list, |
|
|
uint8_t | next_index ) |
|
private |
◆ binding_needs_init()
bool v8::internal::Variable::binding_needs_init |
( |
| ) |
const |
|
inline |
◆ clear_maybe_assigned()
void v8::internal::Variable::clear_maybe_assigned |
( |
| ) |
|
|
inline |
◆ DefaultInitializationFlag()
◆ force_hole_initialization_flag_field()
◆ ForceContextAllocation()
void v8::internal::Variable::ForceContextAllocation |
( |
| ) |
|
|
inline |
◆ ForceHoleInitialization()
◆ has_forced_context_allocation()
bool v8::internal::Variable::has_forced_context_allocation |
( |
| ) |
const |
|
inline |
◆ has_local_if_not_shadowed()
bool v8::internal::Variable::has_local_if_not_shadowed |
( |
| ) |
const |
|
inline |
◆ HasHoleCheckUseInSameClosureScope()
bool v8::internal::Variable::HasHoleCheckUseInSameClosureScope |
( |
| ) |
const |
|
inline |
◆ HasRememberedHoleCheck()
◆ HoleCheckBitmapIndex()
uint8_t v8::internal::Variable::HoleCheckBitmapIndex |
( |
| ) |
const |
|
inlineprivate |
◆ index()
int v8::internal::Variable::index |
( |
| ) |
const |
|
inline |
◆ initialization_flag()
◆ initializer_position()
int v8::internal::Variable::initializer_position |
( |
| ) |
|
|
inline |
◆ is_dynamic()
bool v8::internal::Variable::is_dynamic |
( |
| ) |
const |
|
inline |
◆ is_parameter()
bool v8::internal::Variable::is_parameter |
( |
| ) |
const |
|
inline |
◆ is_sloppy_block_function()
bool v8::internal::Variable::is_sloppy_block_function |
( |
| ) |
|
|
inline |
◆ is_sloppy_function_name()
bool v8::internal::Variable::is_sloppy_function_name |
( |
| ) |
const |
|
inline |
◆ is_static()
bool v8::internal::Variable::is_static |
( |
| ) |
const |
|
inline |
◆ is_static_flag()
IsStaticFlag v8::internal::Variable::is_static_flag |
( |
| ) |
const |
|
inline |
◆ is_this()
bool v8::internal::Variable::is_this |
( |
| ) |
const |
|
inline |
◆ is_used()
bool v8::internal::Variable::is_used |
( |
| ) |
|
|
inline |
◆ IsContextSlot()
bool v8::internal::Variable::IsContextSlot |
( |
| ) |
const |
|
inline |
◆ IsExport()
bool v8::internal::Variable::IsExport |
( |
| ) |
const |
|
inline |
◆ IsGlobalObjectProperty()
bool v8::internal::Variable::IsGlobalObjectProperty |
( |
| ) |
const |
◆ IsHoleInitializationForced()
bool v8::internal::Variable::IsHoleInitializationForced |
( |
| ) |
const |
|
inline |
◆ IsLookupSlot()
bool v8::internal::Variable::IsLookupSlot |
( |
| ) |
const |
|
inline |
◆ IsParameter()
bool v8::internal::Variable::IsParameter |
( |
| ) |
const |
|
inline |
◆ IsReceiver()
bool v8::internal::Variable::IsReceiver |
( |
| ) |
const |
|
inline |
◆ IsReplGlobal()
bool v8::internal::Variable::IsReplGlobal |
( |
| ) |
const |
◆ IsStackAllocated()
bool v8::internal::Variable::IsStackAllocated |
( |
| ) |
const |
|
inline |
◆ IsStackLocal()
bool v8::internal::Variable::IsStackLocal |
( |
| ) |
const |
|
inline |
◆ IsUnallocated()
bool v8::internal::Variable::IsUnallocated |
( |
| ) |
const |
|
inline |
◆ kind()
◆ local_if_not_shadowed()
Variable * v8::internal::Variable::local_if_not_shadowed |
( |
| ) |
const |
|
inline |
◆ location()
◆ MakeParameterNonSimple()
void v8::internal::Variable::MakeParameterNonSimple |
( |
| ) |
|
|
inline |
◆ maybe_assigned()
◆ mode()
◆ name()
◆ next()
Variable ** v8::internal::Variable::next |
( |
| ) |
|
|
inlineprivate |
◆ raw_name()
const AstRawString * v8::internal::Variable::raw_name |
( |
| ) |
const |
|
inline |
◆ RememberHoleCheckInBitmap()
◆ requires_brand_check()
bool v8::internal::Variable::requires_brand_check |
( |
| ) |
const |
|
inline |
◆ ResetHoleCheckBitmapIndex()
void v8::internal::Variable::ResetHoleCheckBitmapIndex |
( |
| ) |
|
|
inline |
◆ RewriteLocationForRepl()
void v8::internal::Variable::RewriteLocationForRepl |
( |
| ) |
|
◆ scope()
Scope * v8::internal::Variable::scope |
( |
| ) |
const |
|
inline |
◆ set_initializer_position()
void v8::internal::Variable::set_initializer_position |
( |
int | pos | ) |
|
|
inline |
◆ set_is_static_flag()
void v8::internal::Variable::set_is_static_flag |
( |
IsStaticFlag | is_static_flag | ) |
|
|
inline |
◆ set_is_used()
void v8::internal::Variable::set_is_used |
( |
| ) |
|
|
inline |
◆ set_local_if_not_shadowed()
void v8::internal::Variable::set_local_if_not_shadowed |
( |
Variable * | local | ) |
|
|
inline |
◆ set_maybe_assigned()
void v8::internal::Variable::set_maybe_assigned |
( |
| ) |
|
|
inlineprivate |
◆ set_mode()
◆ set_scope()
void v8::internal::Variable::set_scope |
( |
Scope * | scope | ) |
|
|
inline |
◆ SetMaybeAssigned()
void v8::internal::Variable::SetMaybeAssigned |
( |
| ) |
|
|
inline |
◆ throw_on_const_assignment()
bool v8::internal::Variable::throw_on_const_assignment |
( |
LanguageMode | language_mode | ) |
const |
|
inline |
◆ bit_field_
uint16_t v8::internal::Variable::bit_field_ |
|
private |
◆ hole_check_analysis_bit_field_
uint16_t v8::internal::Variable::hole_check_analysis_bit_field_ |
|
private |
◆ index_
int v8::internal::Variable::index_ |
|
private |
◆ initializer_position_
int v8::internal::Variable::initializer_position_ |
|
private |
◆ kHoleCheckBitmapBits
uint8_t v8::internal::Variable::kHoleCheckBitmapBits |
|
staticconstexpr |
Initial value:=
std::numeric_limits<HoleCheckBitmap>::digits
Definition at line 217 of file variables.h.
◆ kUncacheableHoleCheckBitmapIndex
uint8_t v8::internal::Variable::kUncacheableHoleCheckBitmapIndex = 0 |
|
staticconstexpr |
◆ List
friend v8::internal::Variable::List |
|
private |
◆ local_if_not_shadowed_
Variable* v8::internal::Variable::local_if_not_shadowed_ |
|
private |
◆ name_
◆ next_
◆ scope_
Scope* v8::internal::Variable::scope_ |
|
private |
The documentation for this class was generated from the following files: