v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AstContext Class Referenceabstract

#include <hydrogen.h>

Inheritance diagram for AstContext:

Public Member Functions

bool IsEffect () const
 
bool IsValue () const
 
bool IsTest () const
 
virtual void ReturnValue (HValue *value)=0
 
virtual void ReturnInstruction (HInstruction *instr, BailoutId ast_id)=0
 
virtual void ReturnControl (HControlInstruction *instr, BailoutId ast_id)=0
 
virtual void ReturnContinuation (HIfContinuation *continuation, BailoutId ast_id)=0
 
void set_for_typeof (bool for_typeof)
 
bool is_for_typeof ()
 

Protected Member Functions

 AstContext (HOptimizedGraphBuilder *owner, Expression::Context kind)
 
virtual ~AstContext ()
 
HOptimizedGraphBuilderowner () const
 
Zonezone () const
 

Detailed Description

Definition at line 774 of file hydrogen.h.

Constructor & Destructor Documentation

~AstContext ( )
protectedvirtual

Definition at line 3654 of file hydrogen.cc.

References HOptimizedGraphBuilder::set_ast_context().

Member Function Documentation

bool is_for_typeof ( )
inline

Definition at line 805 of file hydrogen.h.

bool IsEffect ( ) const
inline

Definition at line 776 of file hydrogen.h.

References Expression::kEffect.

Referenced by HOptimizedGraphBuilder::VisitNot().

bool IsTest ( ) const
inline

Definition at line 778 of file hydrogen.h.

References Expression::kTest.

Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::cast().

bool IsValue ( ) const
inline

Definition at line 777 of file hydrogen.h.

References Expression::kValue.

Referenced by HOptimizedGraphBuilder::VisitLogicalExpression().

HOptimizedGraphBuilder* owner ( ) const
inlineprotected

Definition at line 811 of file hydrogen.h.

virtual void ReturnContinuation ( HIfContinuation *  continuation,
BailoutId  ast_id 
)
pure virtual
void set_for_typeof ( bool  for_typeof)
inline

Definition at line 804 of file hydrogen.h.

Zone * zone ( ) const
inlineprotected

Definition at line 2646 of file hydrogen.h.

References HGraphBuilder::zone().


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