V8 Project
v8::internal::FullCodeGenerator::BASE_EMBEDDED Class Referenceabstract
+ Collaboration diagram for v8::internal::FullCodeGenerator::BASE_EMBEDDED:

Public Member Functions

 NestedStatement (FullCodeGenerator *codegen)
 
virtual ~NestedStatement ()
 
virtual BreakableAsBreakable ()
 
virtual IterationAsIteration ()
 
virtual bool IsContinueTarget (Statement *target)
 
virtual bool IsBreakTarget (Statement *target)
 
virtual NestedStatementExit (int *stack_depth, int *context_length)
 
 ExpressionContext (FullCodeGenerator *codegen)
 
virtual ~ExpressionContext ()
 
Isolateisolate () const
 
virtual void Plug (bool flag) const =0
 
virtual void Plug (Register reg) const =0
 
virtual void Plug (Variable *var) const =0
 
virtual void Plug (Handle< Object > lit) const =0
 
virtual void Plug (Heap::RootListIndex index) const =0
 
virtual void PlugTOS () const =0
 
virtual void Plug (Label *materialize_true, Label *materialize_false) const =0
 
virtual void DropAndPlug (int count, Register reg) const =0
 
virtual void PrepareTest (Label *materialize_true, Label *materialize_false, Label **if_true, Label **if_false, Label **fall_through) const =0
 
virtual bool IsEffect () const
 
virtual bool IsAccumulatorValue () const
 
virtual bool IsStackValue () const
 
virtual bool IsTest () const
 

Protected Member Functions

MacroAssemblermasm ()
 
FullCodeGeneratorcodegen () const
 
MacroAssemblermasm () const
 

Protected Attributes

FullCodeGeneratorcodegen_
 
NestedStatementprevious_
 
MacroAssemblermasm_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (NestedStatement)
 

Private Attributes

const ExpressionContextold_
 

Detailed Description

Definition at line 131 of file full-codegen.h.

Constructor & Destructor Documentation

◆ ~NestedStatement()

virtual v8::internal::FullCodeGenerator::BASE_EMBEDDED::~NestedStatement ( )
inlinevirtual

Definition at line 138 of file full-codegen.h.

138  {
139  // Unlink from codegen's nesting stack.
142  }
NestedStatement * nesting_stack_
Definition: full-codegen.h:835
#define DCHECK_EQ(v1, v2)
Definition: logging.h:206

References DCHECK_EQ.

◆ ~ExpressionContext()

virtual v8::internal::FullCodeGenerator::BASE_EMBEDDED::~ExpressionContext ( )
inlinevirtual

Definition at line 662 of file full-codegen.h.

662  {
664  }
void set_new_context(const ExpressionContext *context)
Definition: full-codegen.h:603

Member Function Documentation

◆ AsBreakable()

virtual Breakable* v8::internal::FullCodeGenerator::BASE_EMBEDDED::AsBreakable ( )
inlinevirtual

Definition at line 144 of file full-codegen.h.

144 { return NULL; }
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 NULL.

◆ AsIteration()

virtual Iteration* v8::internal::FullCodeGenerator::BASE_EMBEDDED::AsIteration ( )
inlinevirtual

Definition at line 145 of file full-codegen.h.

145 { return NULL; }

References NULL.

◆ codegen()

FullCodeGenerator* v8::internal::FullCodeGenerator::BASE_EMBEDDED::codegen ( ) const
inlineprotected

Definition at line 714 of file full-codegen.h.

714 { return codegen_; }

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::FullCodeGenerator::BASE_EMBEDDED::DISALLOW_COPY_AND_ASSIGN ( NestedStatement  )
private

◆ DropAndPlug()

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::DropAndPlug ( int  count,
Register  reg 
) const
pure virtual

◆ Exit()

virtual NestedStatement* v8::internal::FullCodeGenerator::BASE_EMBEDDED::Exit ( int stack_depth,
int context_length 
)
inlinevirtual

Definition at line 156 of file full-codegen.h.

156  {
157  return previous_;
158  }

◆ ExpressionContext()

v8::internal::FullCodeGenerator::BASE_EMBEDDED::ExpressionContext ( FullCodeGenerator codegen)
inlineexplicit

Definition at line 657 of file full-codegen.h.

659  codegen->set_new_context(this);
660  }
const ExpressionContext * context()
Definition: full-codegen.h:602

References v8::internal::FullCodeGenerator::set_new_context().

+ Here is the call graph for this function:

◆ IsAccumulatorValue()

virtual bool v8::internal::FullCodeGenerator::BASE_EMBEDDED::IsAccumulatorValue ( ) const
inlinevirtual

Definition at line 706 of file full-codegen.h.

706 { return false; }

◆ IsBreakTarget()

virtual bool v8::internal::FullCodeGenerator::BASE_EMBEDDED::IsBreakTarget ( Statement target)
inlinevirtual

Definition at line 148 of file full-codegen.h.

148 { return false; }

◆ IsContinueTarget()

virtual bool v8::internal::FullCodeGenerator::BASE_EMBEDDED::IsContinueTarget ( Statement target)
inlinevirtual

Definition at line 147 of file full-codegen.h.

147 { return false; }

◆ IsEffect()

virtual bool v8::internal::FullCodeGenerator::BASE_EMBEDDED::IsEffect ( ) const
inlinevirtual

Definition at line 703 of file full-codegen.h.

703 { return false; }

◆ isolate()

Isolate* v8::internal::FullCodeGenerator::BASE_EMBEDDED::isolate ( ) const
inline

Definition at line 666 of file full-codegen.h.

666 { return codegen_->isolate(); }

◆ IsStackValue()

virtual bool v8::internal::FullCodeGenerator::BASE_EMBEDDED::IsStackValue ( ) const
inlinevirtual

Definition at line 707 of file full-codegen.h.

707 { return false; }

◆ IsTest()

virtual bool v8::internal::FullCodeGenerator::BASE_EMBEDDED::IsTest ( ) const
inlinevirtual

Definition at line 711 of file full-codegen.h.

711 { return false; }

◆ masm() [1/2]

MacroAssembler* v8::internal::FullCodeGenerator::BASE_EMBEDDED::masm ( )
inlineprotected

Definition at line 161 of file full-codegen.h.

161 { return codegen_->masm(); }

◆ masm() [2/2]

MacroAssembler* v8::internal::FullCodeGenerator::BASE_EMBEDDED::masm ( ) const
inlineprotected

Definition at line 715 of file full-codegen.h.

715 { return masm_; }

References v8::internal::FullCodeGenerator::masm_.

◆ NestedStatement()

v8::internal::FullCodeGenerator::BASE_EMBEDDED::NestedStatement ( FullCodeGenerator codegen)
inlineexplicit

Definition at line 133 of file full-codegen.h.

133  : codegen_(codegen) {
134  // Link into codegen's nesting stack.
136  codegen->nesting_stack_ = this;
137  }

References v8::internal::FullCodeGenerator::nesting_stack_.

◆ Plug() [1/6]

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::Plug ( bool  flag) const
pure virtual

◆ Plug() [2/6]

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::Plug ( Handle< Object lit) const
pure virtual

◆ Plug() [3/6]

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::Plug ( Heap::RootListIndex  index) const
pure virtual

◆ Plug() [4/6]

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::Plug ( Label *  materialize_true,
Label *  materialize_false 
) const
pure virtual

◆ Plug() [5/6]

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::Plug ( Register  reg) const
pure virtual

◆ Plug() [6/6]

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::Plug ( Variable var) const
pure virtual

◆ PlugTOS()

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::PlugTOS ( ) const
pure virtual

◆ PrepareTest()

virtual void v8::internal::FullCodeGenerator::BASE_EMBEDDED::PrepareTest ( Label *  materialize_true,
Label *  materialize_false,
Label **  if_true,
Label **  if_false,
Label **  fall_through 
) const
pure virtual

Member Data Documentation

◆ codegen_

FullCodeGenerator * v8::internal::FullCodeGenerator::BASE_EMBEDDED::codegen_
protected

Definition at line 163 of file full-codegen.h.

◆ masm_

MacroAssembler* v8::internal::FullCodeGenerator::BASE_EMBEDDED::masm_
protected

Definition at line 716 of file full-codegen.h.

◆ old_

const ExpressionContext* v8::internal::FullCodeGenerator::BASE_EMBEDDED::old_
private

Definition at line 719 of file full-codegen.h.

◆ previous_

NestedStatement* v8::internal::FullCodeGenerator::BASE_EMBEDDED::previous_
protected

Definition at line 164 of file full-codegen.h.


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