V8 Project
v8::internal::compiler::AstGraphBuilderWithPositions Class Reference
+ Inheritance diagram for v8::internal::compiler::AstGraphBuilderWithPositions:
+ Collaboration diagram for v8::internal::compiler::AstGraphBuilderWithPositions:

Public Member Functions

 AstGraphBuilderWithPositions (CompilationInfo *info, JSGraph *jsgraph, SourcePositionTable *source_positions)
 
bool CreateGraph ()
 
- Public Member Functions inherited from v8::internal::compiler::AstGraphBuilder
 AstGraphBuilder (CompilationInfo *info, JSGraph *jsgraph)
 
bool CreateGraph ()
 
- Public Member Functions inherited from v8::internal::compiler::StructuredGraphBuilder
 StructuredGraphBuilder (Graph *graph, CommonOperatorBuilder *common)
 
virtual ~StructuredGraphBuilder ()
 
Node * NewPhi (int count, Node *input, Node *control)
 
Node * NewEffectPhi (int count, Node *input, Node *control)
 
Node * MergeControl (Node *control, Node *other)
 
Node * MergeEffect (Node *value, Node *other, Node *control)
 
Node * MergeValue (Node *value, Node *other, Node *control)
 
Node * NewIfTrue ()
 
Node * NewIfFalse ()
 
Node * NewMerge ()
 
Node * NewLoop ()
 
Node * NewBranch (Node *condition)
 
- Public Member Functions inherited from v8::internal::compiler::GraphBuilder
 GraphBuilder (Graph *graph)
 
virtual ~GraphBuilder ()
 
Node * NewNode (const Operator *op)
 
Node * NewNode (const Operator *op, Node *n1)
 
Node * NewNode (const Operator *op, Node *n1, Node *n2)
 
Node * NewNode (const Operator *op, Node *n1, Node *n2, Node *n3)
 
Node * NewNode (const Operator *op, Node *n1, Node *n2, Node *n3, Node *n4)
 
Node * NewNode (const Operator *op, Node *n1, Node *n2, Node *n3, Node *n4, Node *n5)
 
Node * NewNode (const Operator *op, Node *n1, Node *n2, Node *n3, Node *n4, Node *n5, Node *n6)
 
Node * NewNode (const Operator *op, int value_input_count, Node **value_inputs)
 
Graphgraph () const
 

Private Attributes

SourcePositionTable * source_positions_
 

Additional Inherited Members

- Protected Types inherited from v8::internal::compiler::AstGraphBuilder
typedef StructuredGraphBuilder::Environment BaseEnvironment
 
- Protected Member Functions inherited from v8::internal::compiler::AstGraphBuilder
Environmentenvironment ()
 
AstContextast_context () const
 
BreakableScope * breakable () const
 
ContextScope * execution_context () const
 
void set_ast_context (AstContext *ctx)
 
void set_breakable (BreakableScope *brk)
 
void set_execution_context (ContextScope *ctx)
 
virtual BaseEnvironmentCopyEnvironment (BaseEnvironment *env)
 
Node * GetFunctionClosure ()
 
Node * GetFunctionContext ()
 
Node * BuildLocalFunctionContext (Node *context, Node *closure)
 
Node * BuildArgumentsObject (Variable *arguments)
 
Node * BuildVariableAssignment (Variable *var, Node *value, Token::Value op, BailoutId bailout_id)
 
Node * BuildVariableDelete (Variable *var)
 
Node * BuildVariableLoad (Variable *var, BailoutId bailout_id, ContextualMode mode=CONTEXTUAL)
 
Node * BuildLoadBuiltinsObject ()
 
Node * BuildLoadGlobalObject ()
 
Node * BuildLoadClosure ()
 
Node * BuildLoadObjectField (Node *object, int offset)
 
Node * BuildToBoolean (Node *value)
 
Node * BuildThrowReferenceError (Variable *var)
 
Node * BuildHoleCheckSilent (Node *value, Node *for_hole, Node *not_hole)
 
Node * BuildHoleCheckThrow (Node *value, Variable *var, Node *not_hole)
 
Node * BuildBinaryOp (Node *left, Node *right, Token::Value op)
 
virtual void VisitDeclarations (ZoneList< Declaration * > *declarations)
 
- Protected Member Functions inherited from v8::internal::compiler::StructuredGraphBuilder
virtual Node * MakeNode (const Operator *op, int value_input_count, Node **value_inputs) FINAL
 
Environmentenvironment () const
 
void set_environment (Environment *env)
 
Node * current_context () const
 
void set_current_context (Node *context)
 
Node * exit_control () const
 
void set_exit_control (Node *node)
 
Node * dead_control ()
 
Zonezone () const
 
Isolateisolate () const
 
CommonOperatorBuilder * common () const
 
template<class T >
Unique< TMakeUnique (Handle< T > object)
 
void UpdateControlDependencyToLeaveFunction (Node *exit)
 

Detailed Description

Definition at line 133 of file pipeline.cc.

Constructor & Destructor Documentation

◆ AstGraphBuilderWithPositions()

v8::internal::compiler::AstGraphBuilderWithPositions::AstGraphBuilderWithPositions ( CompilationInfo info,
JSGraph jsgraph,
SourcePositionTable *  source_positions 
)
inlineexplicit

Definition at line 135 of file pipeline.cc.

Member Function Documentation

◆ CreateGraph()

bool v8::internal::compiler::AstGraphBuilderWithPositions::CreateGraph ( )
inline

Definition at line 139 of file pipeline.cc.

139  {
140  SourcePositionTable::Scope pos(source_positions_,
141  SourcePosition::Unknown());
143  }

References v8::internal::compiler::AstGraphBuilder::CreateGraph(), and source_positions_.

Referenced by v8::internal::compiler::Pipeline::GenerateCode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ source_positions_

SourcePositionTable* v8::internal::compiler::AstGraphBuilderWithPositions::source_positions_
private

Definition at line 155 of file pipeline.cc.

Referenced by CreateGraph().


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