V8 Project
v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED Class Reference

#include <hydrogen.h>

+ Collaboration diagram for v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED:

Public Types

enum  BreakType { BREAK , CONTINUE }
 

Public Member Functions

 BreakAndContinueInfo (BreakableStatement *target, Scope *scope, int drop_extra=0)
 
BreakableStatementtarget ()
 
HBasicBlock * break_block ()
 
void set_break_block (HBasicBlock *block)
 
HBasicBlock * continue_block ()
 
void set_continue_block (HBasicBlock *block)
 
Scopescope ()
 
int drop_extra ()
 
 BreakAndContinueScope (BreakAndContinueInfo *info, HOptimizedGraphBuilder *owner)
 
 ~BreakAndContinueScope ()
 
BreakAndContinueInfoinfo ()
 
HOptimizedGraphBuilderowner ()
 
BreakAndContinueScopenext ()
 
HBasicBlock * Get (BreakableStatement *stmt, BreakType type, Scope **scope, int *drop_extra)
 

Private Attributes

BreakableStatementtarget_
 
HBasicBlock * break_block_
 
HBasicBlock * continue_block_
 
Scopescope_
 
int drop_extra_
 
BreakAndContinueInfoinfo_
 
HOptimizedGraphBuilderowner_
 
BreakAndContinueScopenext_
 

Detailed Description

Definition at line 2050 of file hydrogen.h.

Member Enumeration Documentation

◆ BreakType

Constructor & Destructor Documentation

◆ ~BreakAndContinueScope()

v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::~BreakAndContinueScope ( )
inline

Definition at line 2088 of file hydrogen.h.

void set_break_scope(BreakAndContinueScope *head)
Definition: hydrogen.h:2111

Member Function Documentation

◆ break_block()

HBasicBlock* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::break_block ( )
inline

Definition at line 2063 of file hydrogen.h.

◆ BreakAndContinueInfo()

v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::BreakAndContinueInfo ( BreakableStatement target,
Scope scope,
int  drop_extra = 0 
)
inlineexplicit

Definition at line 2052 of file hydrogen.h.

2055  : target_(target),
2056  break_block_(NULL),
2058  scope_(scope),
2060  }
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

◆ BreakAndContinueScope()

v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::BreakAndContinueScope ( BreakAndContinueInfo info,
HOptimizedGraphBuilder owner 
)
inline

Definition at line 2082 of file hydrogen.h.

2085  owner->set_break_scope(this);
2086  }
BreakAndContinueScope * break_scope() const
Definition: hydrogen.h:2110

References v8::internal::HOptimizedGraphBuilder::set_break_scope().

+ Here is the call graph for this function:

◆ continue_block()

HBasicBlock* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::continue_block ( )
inline

Definition at line 2065 of file hydrogen.h.

2065 { return continue_block_; }

◆ drop_extra()

int v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::drop_extra ( )
inline

Definition at line 2068 of file hydrogen.h.

2068 { return drop_extra_; }

◆ Get()

HBasicBlock* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::Get ( BreakableStatement stmt,
BreakType  type,
Scope **  scope,
int drop_extra 
)

◆ info()

BreakAndContinueInfo* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::info ( )
inline

Definition at line 2090 of file hydrogen.h.

2090 { return info_; }

References v8::internal::HGraphBuilder::info_.

◆ next()

BreakAndContinueScope* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::next ( )
inline

Definition at line 2092 of file hydrogen.h.

2092 { return next_; }

◆ owner()

HOptimizedGraphBuilder* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::owner ( )
inline

Definition at line 2091 of file hydrogen.h.

2091 { return owner_; }

◆ scope()

Scope* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::scope ( )
inline

Definition at line 2067 of file hydrogen.h.

2067 { return scope_; }

References v8::internal::HGraphBuilder::scope_.

◆ set_break_block()

void v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::set_break_block ( HBasicBlock *  block)
inline

Definition at line 2064 of file hydrogen.h.

2064 { break_block_ = block; }

◆ set_continue_block()

void v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::set_continue_block ( HBasicBlock *  block)
inline

Definition at line 2066 of file hydrogen.h.

2066 { continue_block_ = block; }

◆ target()

BreakableStatement* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::target ( )
inline

Definition at line 2062 of file hydrogen.h.

2062 { return target_; }

Member Data Documentation

◆ break_block_

HBasicBlock* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::break_block_
private

Definition at line 2072 of file hydrogen.h.

◆ continue_block_

HBasicBlock* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::continue_block_
private

Definition at line 2073 of file hydrogen.h.

◆ drop_extra_

int v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::drop_extra_
private

Definition at line 2075 of file hydrogen.h.

◆ info_

BreakAndContinueInfo* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::info_
private

Definition at line 2100 of file hydrogen.h.

◆ next_

BreakAndContinueScope* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::next_
private

Definition at line 2102 of file hydrogen.h.

◆ owner_

HOptimizedGraphBuilder* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::owner_
private

Definition at line 2101 of file hydrogen.h.

◆ scope_

Scope* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::scope_
private

Definition at line 2074 of file hydrogen.h.

◆ target_

BreakableStatement* v8::internal::HOptimizedGraphBuilder::BASE_EMBEDDED::target_
private

Definition at line 2071 of file hydrogen.h.


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