V8 Project
v8::internal::GuardedAlternative Class Reference

#include <jsregexp.h>

+ Collaboration diagram for v8::internal::GuardedAlternative:

Public Member Functions

 GuardedAlternative (RegExpNode *node)
 
void AddGuard (Guard *guard, Zone *zone)
 
RegExpNodenode ()
 
void set_node (RegExpNode *node)
 
ZoneList< Guard * > * guards ()
 

Private Attributes

RegExpNodenode_
 
ZoneList< Guard * > * guards_
 

Detailed Description

Definition at line 1034 of file jsregexp.h.

Constructor & Destructor Documentation

◆ GuardedAlternative()

v8::internal::GuardedAlternative::GuardedAlternative ( RegExpNode node)
inlineexplicit

Definition at line 1036 of file jsregexp.h.

1036 : node_(node), guards_(NULL) { }
ZoneList< Guard * > * guards_
Definition: jsregexp.h:1044
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

Member Function Documentation

◆ AddGuard()

void v8::internal::GuardedAlternative::AddGuard ( Guard guard,
Zone zone 
)

Definition at line 1465 of file jsregexp.cc.

1465  {
1466  if (guards_ == NULL)
1467  guards_ = new(zone) ZoneList<Guard*>(1, zone);
1468  guards_->Add(guard, zone);
1469 }

References v8::internal::List< T, AllocationPolicy >::Add(), and NULL.

+ Here is the call graph for this function:

◆ guards()

ZoneList<Guard*>* v8::internal::GuardedAlternative::guards ( )
inline

Definition at line 1040 of file jsregexp.h.

1040 { return guards_; }

References guards_.

Referenced by v8::internal::ChoiceNode::AssertGuardsMentionRegisters(), v8::internal::ChoiceNode::EmitChoices(), v8::internal::ChoiceNode::EmitOptimizedUnanchoredSearch(), v8::internal::ChoiceNode::EmitOutOfLineContinuation(), v8::internal::ChoiceNode::FillInBMInfo(), and v8::internal::ChoiceNode::FilterOneByte().

+ Here is the caller graph for this function:

◆ node()

RegExpNode* v8::internal::GuardedAlternative::node ( )
inline

◆ set_node()

void v8::internal::GuardedAlternative::set_node ( RegExpNode node)
inline

Definition at line 1039 of file jsregexp.h.

1039 { node_ = node; }

References node(), and node_.

+ Here is the call graph for this function:

Member Data Documentation

◆ guards_

ZoneList<Guard*>* v8::internal::GuardedAlternative::guards_
private

Definition at line 1044 of file jsregexp.h.

Referenced by guards().

◆ node_

RegExpNode* v8::internal::GuardedAlternative::node_
private

Definition at line 1043 of file jsregexp.h.

Referenced by node(), and set_node().


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