V8 Project
v8::internal::AlternativeGenerationList Class Reference
+ Collaboration diagram for v8::internal::AlternativeGenerationList:

Public Member Functions

 AlternativeGenerationList (int count, Zone *zone)
 
 ~AlternativeGenerationList ()
 
AlternativeGenerationat (int i)
 

Private Attributes

ZoneList< AlternativeGeneration * > alt_gens_
 
AlternativeGeneration a_few_alt_gens_ [kAFew]
 

Static Private Attributes

static const int kAFew = 10
 

Detailed Description

Definition at line 3545 of file jsregexp.cc.

Constructor & Destructor Documentation

◆ AlternativeGenerationList()

v8::internal::AlternativeGenerationList::AlternativeGenerationList ( int  count,
Zone zone 
)
inline

Definition at line 3547 of file jsregexp.cc.

3548  : alt_gens_(count, zone) {
3549  for (int i = 0; i < count && i < kAFew; i++) {
3550  alt_gens_.Add(a_few_alt_gens_ + i, zone);
3551  }
3552  for (int i = kAFew; i < count; i++) {
3553  alt_gens_.Add(new AlternativeGeneration(), zone);
3554  }
3555  }
AlternativeGeneration a_few_alt_gens_[kAFew]
Definition: jsregexp.cc:3570
ZoneList< AlternativeGeneration * > alt_gens_
Definition: jsregexp.cc:3569

◆ ~AlternativeGenerationList()

v8::internal::AlternativeGenerationList::~AlternativeGenerationList ( )
inline

Definition at line 3556 of file jsregexp.cc.

3556  {
3557  for (int i = kAFew; i < alt_gens_.length(); i++) {
3558  delete alt_gens_[i];
3559  alt_gens_[i] = NULL;
3560  }
3561  }
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 NULL.

Member Function Documentation

◆ at()

AlternativeGeneration* v8::internal::AlternativeGenerationList::at ( int  i)
inline

Definition at line 3563 of file jsregexp.cc.

3563  {
3564  return alt_gens_[i];
3565  }

Referenced by v8::internal::ChoiceNode::Emit(), and v8::internal::ChoiceNode::EmitChoices().

+ Here is the caller graph for this function:

Member Data Documentation

◆ a_few_alt_gens_

AlternativeGeneration v8::internal::AlternativeGenerationList::a_few_alt_gens_[kAFew]
private

Definition at line 3570 of file jsregexp.cc.

◆ alt_gens_

ZoneList<AlternativeGeneration*> v8::internal::AlternativeGenerationList::alt_gens_
private

Definition at line 3569 of file jsregexp.cc.

◆ kAFew

const int v8::internal::AlternativeGenerationList::kAFew = 10
staticprivate

Definition at line 3568 of file jsregexp.cc.


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