V8 Project
|
#include <ast.h>
Public Member Functions | |
virtual IterationStatement * | AsIterationStatement () FINAL OVERRIDE |
Statement * | body () const |
BailoutId | OsrEntryId () const |
virtual BailoutId | ContinueId () const =0 |
virtual BailoutId | StackCheckId () const =0 |
Label * | continue_target () |
![]() | |
ZoneList< const AstRawString * > * | labels () const |
virtual BreakableStatement * | AsBreakableStatement () FINAL OVERRIDE |
Label * | break_target () |
bool | is_target_for_anonymous () const |
BailoutId | EntryId () const |
BailoutId | ExitId () const |
![]() | |
Statement (Zone *zone, int position) | |
bool | IsEmpty () |
virtual bool | IsJump () const |
![]() | |
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 MaterializedLiteral * | AsMaterializedLiteral () |
![]() | |
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 | |
IterationStatement (Zone *zone, ZoneList< const AstRawString * > *labels, int pos, IdGen *id_gen) | |
void | Initialize (Statement *body) |
![]() | |
BreakableStatement (Zone *zone, ZoneList< const AstRawString * > *labels, BreakableType breakable_type, int position, IdGen *id_gen) | |
Private Attributes | |
Statement * | body_ |
Label | continue_target_ |
const BailoutId | osr_entry_id_ |
Additional Inherited Members | |
![]() | |
enum | BreakableType { TARGET_FOR_ANONYMOUS , TARGET_FOR_NAMED_ONLY } |
![]() | |
enum | NodeType { kInvalid = -1 } |
![]() | |
static TypeFeedbackId | reuse (BailoutId id) |
|
inlineprotected |
Definition at line 742 of file ast.h.
|
inlinevirtual |
Reimplemented from v8::internal::AstNode.
Definition at line 728 of file ast.h.
Referenced by v8::internal::Parser::LookupContinueTarget().
|
inline |
Definition at line 732 of file ast.h.
References body_.
Referenced by v8::internal::ForEachStatement::Initialize(), Initialize(), v8::internal::compiler::AstGraphBuilder::VisitIterationBody(), v8::internal::Processor::VisitIterationStatement(), and v8::internal::HOptimizedGraphBuilder::VisitLoopBody().
|
inline |
Definition at line 739 of file ast.h.
References continue_target_.
Referenced by v8::internal::Parser::LookupContinueTarget().
|
pure virtual |
Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Referenced by v8::internal::HOptimizedGraphBuilder::JoinContinue().
|
inlineprotected |
Definition at line 748 of file ast.h.
Referenced by v8::internal::FINAL< kOperandKind, kNumCachedOperands >::Initialize(), and v8::internal::ForEachStatement::Initialize().
|
inline |
Definition at line 734 of file ast.h.
References osr_entry_id_.
Referenced by v8::internal::HOsrBuilder::BuildOsrLoopEntry(), v8::internal::HOsrBuilder::HasOsrEntryAt(), and v8::internal::AstTyper::ObserveTypesAtOsrEntry().
|
pure virtual |
Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, v8::internal::FINAL< kOperandKind, kNumCachedOperands >, and v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Referenced by v8::internal::HOptimizedGraphBuilder::VisitLoopBody().
|
private |
Definition at line 753 of file ast.h.
Referenced by body(), and Initialize().
|
private |
Definition at line 754 of file ast.h.
Referenced by continue_target().
|
private |
Definition at line 756 of file ast.h.
Referenced by OsrEntryId().