V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::TransitionsAccessor Class Reference

Public Types

enum  RequestedLocation { kAnyLocation, kFieldOnly }
 
typedef void(* TraverseCallback) (Map map, void *data)
 

Public Member Functions

 TransitionsAccessor (Isolate *isolate, Map map, DisallowHeapAllocation *no_gc)
 
 TransitionsAccessor (Isolate *isolate, Handle< Map > map)
 
void Insert (Handle< Name > name, Handle< Map > target, SimpleTransitionFlag flag)
 
Map SearchTransition (Name name, PropertyKind kind, PropertyAttributes attributes)
 
Map SearchSpecial (Symbol name)
 
MaybeHandle< MapFindTransitionToDataProperty (Handle< Name > name, RequestedLocation requested_location=kAnyLocation)
 
MaybeHandle< MapFindTransitionToField (Handle< Name > name)
 
Handle< StringExpectedTransitionKey ()
 
Handle< MapExpectedTransitionTarget ()
 
int NumberOfTransitions ()
 
bool CanHaveMoreTransitions ()
 
Name GetKey (int transition_number)
 
Map GetTarget (int transition_number)
 
void TraverseTransitionTree (TraverseCallback callback, void *data)
 
void PutPrototypeTransition (Handle< Object > prototype, Handle< Map > target_map)
 
Handle< MapGetPrototypeTransition (Handle< Object > prototype)
 
void SetMigrationTarget (Map migration_target)
 
Map GetMigrationTarget ()
 

Static Public Member Functions

static bool IsSpecialTransition (ReadOnlyRoots roots, Name name)
 
static PropertyDetails GetTargetDetails (Name name, Map target)
 
static bool IsMatchingMap (Map target, Name name, PropertyKind kind, PropertyAttributes attributes)
 

Static Public Attributes

static const int kMaxNumberOfTransitions = 1024 + 512
 

Protected Types

enum  Encoding {
  kPrototypeInfo, kUninitialized, kMigrationTarget, kWeakRef,
  kFullTransitionArray
}
 

Protected Member Functions

void Reload ()
 
Encoding encoding ()
 

Friends

class MarkCompactCollector
 
class TransitionArray
 

Detailed Description

Definition at line 39 of file transitions.h.


The documentation for this class was generated from the following files: