V8 Project
v8::internal::TryStatement Class Reference

#include <ast.h>

+ Inheritance diagram for v8::internal::TryStatement:
+ Collaboration diagram for v8::internal::TryStatement:

Public Member Functions

void set_escaping_targets (ZoneList< Label * > *targets)
 
int index () const
 
Block * try_block () const
 
ZoneList< Label * > * escaping_targets () const
 
- Public Member Functions inherited from v8::internal::Statement
 Statement (Zone *zone, int position)
 
bool IsEmpty ()
 
virtual bool IsJump () const
 
- Public Member Functions inherited from v8::internal::AstNode
void * operator new (size_t size, Zone *zone)
 
 AstNode (int position)
 
virtual ~AstNode ()
 
virtual void Accept (AstVisitor *v)=0
 
virtual NodeType node_type () const =0
 
int position () const
 
virtual TargetCollector * AsTargetCollector ()
 
virtual BreakableStatementAsBreakableStatement ()
 
virtual IterationStatementAsIterationStatement ()
 
virtual MaterializedLiteralAsMaterializedLiteral ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Protected Member Functions

 TryStatement (Zone *zone, int index, Block *try_block, int pos)
 

Private Attributes

int index_
 
Block * try_block_
 
ZoneList< Label * > * escaping_targets_
 

Additional Inherited Members

- Public Types inherited from v8::internal::AstNode
enum  NodeType { kInvalid = -1 }
 
- Static Protected Member Functions inherited from v8::internal::AstNode
static TypeFeedbackId reuse (BailoutId id)
 

Detailed Description

Definition at line 1249 of file ast.h.

Constructor & Destructor Documentation

◆ TryStatement()

v8::internal::TryStatement::TryStatement ( Zone zone,
int  index,
Block *  try_block,
int  pos 
)
inlineprotected

Definition at line 1260 of file ast.h.

1261  : Statement(zone, pos),
1262  index_(index),
1264  escaping_targets_(NULL) { }
Statement(Zone *zone, int position)
Definition: ast.h:257
int index() const
Definition: ast.h:1255
ZoneList< Label * > * escaping_targets_
Definition: ast.h:1271
Block * try_block() const
Definition: ast.h:1256
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

◆ escaping_targets()

ZoneList<Label*>* v8::internal::TryStatement::escaping_targets ( ) const
inline

Definition at line 1257 of file ast.h.

1257 { return escaping_targets_; }

References escaping_targets_.

◆ index()

int v8::internal::TryStatement::index ( ) const
inline

Definition at line 1255 of file ast.h.

1255 { return index_; }

References index_.

◆ set_escaping_targets()

void v8::internal::TryStatement::set_escaping_targets ( ZoneList< Label * > *  targets)
inline

Definition at line 1251 of file ast.h.

1251  {
1252  escaping_targets_ = targets;
1253  }

References escaping_targets_.

Referenced by v8::internal::Parser::ParseTryStatement().

+ Here is the caller graph for this function:

◆ try_block()

Block* v8::internal::TryStatement::try_block ( ) const
inline

Definition at line 1256 of file ast.h.

1256 { return try_block_; }

References try_block_.

Member Data Documentation

◆ escaping_targets_

ZoneList<Label*>* v8::internal::TryStatement::escaping_targets_
private

Definition at line 1271 of file ast.h.

Referenced by escaping_targets(), and set_escaping_targets().

◆ index_

int v8::internal::TryStatement::index_
private

Definition at line 1268 of file ast.h.

Referenced by index().

◆ try_block_

Block* v8::internal::TryStatement::try_block_
private

Definition at line 1270 of file ast.h.

Referenced by try_block().


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