v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HGraphBuilder Class Reference

#include <hydrogen.h>

Inheritance diagram for HGraphBuilder:
Collaboration diagram for HGraphBuilder:

Data Structures

class  BASE_EMBEDDED
 

Public Types

enum  BreakType { BREAK, CONTINUE }
 
enum  SwitchType { UNKNOWN_SWITCH, SMI_SWITCH, STRING_SWITCH }
 

Public Member Functions

 HGraphBuilder (CompilationInfo *info, TypeFeedbackOracle *oracle)
 
HGraphCreateGraph ()
 
HGraphgraph () const
 
BreakAndContinueScope * break_scope () const
 
void set_break_scope (BreakAndContinueScope *head)
 
HBasicBlockcurrent_block () const
 
void set_current_block (HBasicBlock *block)
 
HEnvironmentenvironment () const
 
bool inline_bailout ()
 
HInstructionAddInstruction (HInstruction *instr)
 
void AddSimulate (BailoutId ast_id)
 
void Push (HValue *value)
 
HValuePop ()
 
void Bailout (const char *reason)
 
HBasicBlockCreateJoin (HBasicBlock *first, HBasicBlock *second, BailoutId join_id)
 
TypeFeedbackOracleoracle () const
 
FunctionStatefunction_state () const
 
void VisitDeclarations (ZoneList< Declaration * > *declarations)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer, Zone *zone)
 
void operator delete (void *pointer)
 

Friends

class FunctionState
 
class AstContext
 

Detailed Description

Definition at line 807 of file hydrogen.h.

Member Enumeration Documentation

enum BreakType
Enumerator
BREAK 
CONTINUE 

Definition at line 809 of file hydrogen.h.

enum SwitchType
Enumerator
UNKNOWN_SWITCH 
SMI_SWITCH 
STRING_SWITCH 

Definition at line 810 of file hydrogen.h.

Constructor & Destructor Documentation

HGraphBuilder ( CompilationInfo info,
TypeFeedbackOracle oracle 
)

Definition at line 619 of file hydrogen.cc.

Member Function Documentation

BreakAndContinueScope* break_scope ( ) const
inline

Definition at line 869 of file hydrogen.h.

FunctionState* function_state ( ) const
inline

Definition at line 896 of file hydrogen.h.

Referenced by HGraphBuilder::oracle().

bool inline_bailout ( )
inline

Definition at line 878 of file hydrogen.h.

Referenced by OptimizingCompiler::CreateGraph().

void operator delete ( void *  pointer,
Zone zone 
)
inline

Definition at line 903 of file hydrogen.h.

void operator delete ( void *  pointer)
inline

Definition at line 904 of file hydrogen.h.

void* operator new ( size_t  size,
Zone zone 
)
inline

Definition at line 900 of file hydrogen.h.

References Zone::New().

TypeFeedbackOracle* oracle ( ) const
inline

Definition at line 894 of file hydrogen.h.

References HGraphBuilder::function_state(), and FunctionState::oracle().

HValue* Pop ( )
inline

Definition at line 886 of file hydrogen.h.

References HGraphBuilder::environment(), and HEnvironment::Pop().

void Push ( HValue value)
inline
void set_break_scope ( BreakAndContinueScope *  head)
inline

Definition at line 870 of file hydrogen.h.

Referenced by HGraphBuilder::BASE_EMBEDDED::BreakAndContinueScope().

void set_current_block ( HBasicBlock block)
inline

Friends And Related Function Documentation

friend class AstContext
friend

Definition at line 1246 of file hydrogen.h.

friend class FunctionState
friend

Definition at line 1245 of file hydrogen.h.


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