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

Public Member Functions

 CharacterRangeSplitter (ZoneList< CharacterRange > **included, ZoneList< CharacterRange > **excluded, Zone *zone)
 
void Call (uc16 from, DispatchTable::Entry entry)
 

Static Public Attributes

static const int kInBase = 0
 
static const int kInOverlay = 1
 

Private Attributes

ZoneList< CharacterRange > ** included_
 
ZoneList< CharacterRange > ** excluded_
 
Zonezone_
 

Detailed Description

Definition at line 5286 of file jsregexp.cc.

Constructor & Destructor Documentation

◆ CharacterRangeSplitter()

v8::internal::CharacterRangeSplitter::CharacterRangeSplitter ( ZoneList< CharacterRange > **  included,
ZoneList< CharacterRange > **  excluded,
Zone zone 
)
inline

Definition at line 5288 of file jsregexp.cc.

5291  : included_(included),
5292  excluded_(excluded),
5293  zone_(zone) { }
ZoneList< CharacterRange > ** excluded_
Definition: jsregexp.cc:5301
ZoneList< CharacterRange > ** included_
Definition: jsregexp.cc:5300

Member Function Documentation

◆ Call()

void v8::internal::CharacterRangeSplitter::Call ( uc16  from,
DispatchTable::Entry  entry 
)

Definition at line 5306 of file jsregexp.cc.

5306  {
5307  if (!entry.out_set()->Get(kInBase)) return;
5308  ZoneList<CharacterRange>** target = entry.out_set()->Get(kInOverlay)
5309  ? included_
5310  : excluded_;
5311  if (*target == NULL) *target = new(zone_) ZoneList<CharacterRange>(2, zone_);
5312  (*target)->Add(CharacterRange(entry.from(), entry.to()), zone_);
5313 }
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 v8::internal::List< T, AllocationPolicy >::Add(), excluded_, v8::internal::DispatchTable::Entry::from(), v8::internal::OutSet::Get(), included_, kInBase, kInOverlay, NULL, v8::internal::DispatchTable::Entry::out_set(), v8::internal::DispatchTable::Entry::to(), and zone_.

+ Here is the call graph for this function:

Member Data Documentation

◆ excluded_

ZoneList<CharacterRange>** v8::internal::CharacterRangeSplitter::excluded_
private

Definition at line 5301 of file jsregexp.cc.

Referenced by Call().

◆ included_

ZoneList<CharacterRange>** v8::internal::CharacterRangeSplitter::included_
private

Definition at line 5300 of file jsregexp.cc.

Referenced by Call().

◆ kInBase

const int v8::internal::CharacterRangeSplitter::kInBase = 0
static

Definition at line 5296 of file jsregexp.cc.

Referenced by Call(), and v8::internal::CharacterRange::Split().

◆ kInOverlay

const int v8::internal::CharacterRangeSplitter::kInOverlay = 1
static

Definition at line 5297 of file jsregexp.cc.

Referenced by Call(), and v8::internal::CharacterRange::Split().

◆ zone_

Zone* v8::internal::CharacterRangeSplitter::zone_
private

Definition at line 5302 of file jsregexp.cc.

Referenced by Call().


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