16 int number_of_transitions) {
34 int origin_transition,
35 int target_transition) {
37 origin->
GetKey(origin_transition),
58 result->NoIncrementalWriteBarrierSet(0, *
name, *target);
67 DCHECK(!containing_map->transitions()->IsFullTransitionArray());
68 int nof = containing_map->transitions()->number_of_transitions();
73 int new_nof = containing_map->transitions()->number_of_transitions();
77 }
else if (nof == 1) {
78 result->NoIncrementalWriteBarrierCopyFrom(
82 result->set_back_pointer_storage(
83 containing_map->transitions()->back_pointer_storage());
99 int insertion_index =
map->transitions()->Search(*
name);
100 if (insertion_index ==
kNotFound) ++new_size;
117 if (insertion_index ==
kNotFound) ++new_size;
128 if (
i != insertion_index) {
129 result->NoIncrementalWriteBarrierCopyFrom(array,
i,
i);
132 result->NoIncrementalWriteBarrierSet(insertion_index, *
name, *target);
140 result->NoIncrementalWriteBarrierCopyFrom(
141 array, insertion_index, insertion_index);
144 result->NoIncrementalWriteBarrierSet(insertion_index, *
name, *target);
147 result->NoIncrementalWriteBarrierCopyFrom(
148 array, insertion_index, insertion_index + 1);
static Handle< T > cast(Handle< S > that)
Isolate * GetIsolate() const
Object * GetBackPointer()
bool HasTransitionArray() const
static Smi * FromInt(int value)
static int ToKeyIndex(int transition_number)
int number_of_transitions()
static const int kSimpleTransitionIndex
bool HasPrototypeTransitions()
static Handle< TransitionArray > AllocateSimple(Isolate *isolate, Handle< Map > target)
static Handle< TransitionArray > ExtendToFullTransitionArray(Handle< Map > containing_map)
static const int kNotFound
Object * back_pointer_storage()
Name * GetKey(int transition_number)
static Handle< TransitionArray > NewWith(Handle< Map > map, Handle< Name > name, Handle< Map > target, SimpleTransitionFlag flag)
static Handle< TransitionArray > Allocate(Isolate *isolate, int number_of_transitions)
static const int kSimpleTransitionSize
static const int kSimpleTransitionTarget
Map * GetTarget(int transition_number)
static Handle< TransitionArray > CopyInsert(Handle< Map > map, Handle< Name > name, Handle< Map > target, SimpleTransitionFlag flag)
FixedArray * GetPrototypeTransitions()
void NoIncrementalWriteBarrierSet(int transition_number, Name *key, Map *target)
static const int kPrototypeTransitionsIndex
void NoIncrementalWriteBarrierCopyFrom(TransitionArray *origin, int origin_transition, int target_transition)
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf map
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to maximum length of function source code printed in a stack trace min size of a semi the new space consists of two semi spaces print one trace line following each garbage collection do not print trace line after scavenger collection print cumulative GC statistics in name
#define DCHECK(condition)
kFeedbackVectorOffset flag
static bool InsertionPointFound(Name *key1, Name *key2)
Debugger support for the V8 JavaScript engine.