V8 Project
v8::internal::compiler::RegisterAllocatorPhase Class Reference

#include <register-allocator.h>

+ Inheritance diagram for v8::internal::compiler::RegisterAllocatorPhase:
+ Collaboration diagram for v8::internal::compiler::RegisterAllocatorPhase:

Public Member Functions

 RegisterAllocatorPhase (const char *name, RegisterAllocator *allocator)
 
 ~RegisterAllocatorPhase ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (RegisterAllocatorPhase)
 

Private Attributes

RegisterAllocator * allocator_
 
unsigned allocator_zone_start_allocation_size_
 

Detailed Description

Definition at line 533 of file register-allocator.h.

Constructor & Destructor Documentation

◆ RegisterAllocatorPhase()

v8::internal::compiler::RegisterAllocatorPhase::RegisterAllocatorPhase ( const char *  name,
RegisterAllocator *  allocator 
)

Definition at line 2210 of file register-allocator.cc.

2212  : CompilationPhase(name, allocator->code()->linkage()->info()),
2213  allocator_(allocator) {
2214  if (FLAG_turbo_stats) {
2216  allocator->zone()->allocation_size();
2217  }
2218 }
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

References allocator_zone_start_allocation_size_.

◆ ~RegisterAllocatorPhase()

v8::internal::compiler::RegisterAllocatorPhase::~RegisterAllocatorPhase ( )

Definition at line 2221 of file register-allocator.cc.

2221  {
2222  if (FLAG_turbo_stats) {
2223  unsigned size = allocator_->zone()->allocation_size() -
2225  isolate()->GetTStatistics()->SaveTiming(name(), base::TimeDelta(), size);
2226  }
2227 #ifdef DEBUG
2228  if (allocator_ != NULL) allocator_->Verify();
2229 #endif
2230 }
enable harmony numeric enable harmony object literal extensions Optimize object size
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 NULL

References allocator_, allocator_zone_start_allocation_size_, name, NULL, and size.

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::compiler::RegisterAllocatorPhase::DISALLOW_COPY_AND_ASSIGN ( RegisterAllocatorPhase  )
private

Member Data Documentation

◆ allocator_

RegisterAllocator* v8::internal::compiler::RegisterAllocatorPhase::allocator_
private

Definition at line 539 of file register-allocator.h.

Referenced by ~RegisterAllocatorPhase().

◆ allocator_zone_start_allocation_size_

unsigned v8::internal::compiler::RegisterAllocatorPhase::allocator_zone_start_allocation_size_
private

Definition at line 540 of file register-allocator.h.

Referenced by RegisterAllocatorPhase(), and ~RegisterAllocatorPhase().


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