|
V8 Project
|
#include <ast-graph-builder.h>
Inheritance diagram for v8::internal::compiler::AstGraphBuilder::Environment:
Collaboration diagram for v8::internal::compiler::AstGraphBuilder::Environment:Public Member Functions | |
| Environment (AstGraphBuilder *builder, Scope *scope, Node *control_dependency) | |
| Environment (const Environment ©) | |
| int | parameters_count () const |
| int | locals_count () const |
| int | stack_height () |
| void | Bind (Variable *variable, Node *node) |
| Node * | Lookup (Variable *variable) |
| void | Push (Node *node) |
| Node * | Top () |
| Node * | Pop () |
| void | Poke (int depth, Node *node) |
| Node * | Peek (int depth) |
| void | Drop (int depth) |
| Node * | Checkpoint (BailoutId ast_id, OutputFrameStateCombine combine) |
Public Member Functions inherited from v8::internal::compiler::StructuredGraphBuilder::Environment | |
| Environment (StructuredGraphBuilder *builder, Node *control_dependency) | |
| Environment (const Environment ©) | |
| Node * | GetControlDependency () |
| void | UpdateControlDependency (Node *dependency) |
| Node * | GetEffectDependency () |
| void | UpdateEffectDependency (Node *dependency) |
| void | MarkAsUnreachable () |
| bool | IsMarkedAsUnreachable () |
| void | Merge (Environment *other) |
| Environment * | CopyForConditional () |
| Environment * | CopyAsUnreachable () |
| Environment * | CopyForLoop () |
| Node * | GetContext () |
Public Member Functions inherited from v8::internal::ZoneObject | |
| INLINE (void *operator new(size_t size, Zone *zone)) | |
| void | operator delete (void *, size_t) |
| void | operator delete (void *pointer, Zone *zone) |
Protected Member Functions | |
| AstGraphBuilder * | builder () const |
Protected Member Functions inherited from v8::internal::compiler::StructuredGraphBuilder::Environment | |
| Zone * | zone () const |
| Graph * | graph () const |
| StructuredGraphBuilder * | builder () const |
| CommonOperatorBuilder * | common () |
| NodeVector * | values () |
| void | PrepareForLoop () |
Private Member Functions | |
| void | UpdateStateValues (Node **state_values, int offset, int count) |
Private Attributes | |
| int | parameters_count_ |
| int | locals_count_ |
| Node * | parameters_node_ |
| Node * | locals_node_ |
| Node * | stack_node_ |
Definition at line 194 of file ast-graph-builder.h.
| v8::internal::compiler::AstGraphBuilder::Environment::Environment | ( | AstGraphBuilder * | builder, |
| Scope * | scope, | ||
| Node * | control_dependency | ||
| ) |
Definition at line 158 of file ast-graph-builder.cc.
References builder(), v8::internal::compiler::StructuredGraphBuilder::Environment::common(), DCHECK_EQ, v8::internal::compiler::GraphBuilder::graph(), v8::internal::compiler::AstGraphBuilder::jsgraph(), locals_count(), v8::internal::compiler::Graph::NewNode(), v8::internal::Scope::num_parameters(), parameters_count(), v8::internal::compiler::GenericGraph< V >::start(), v8::internal::compiler::JSGraph::UndefinedConstant(), and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Here is the call graph for this function:| v8::internal::compiler::AstGraphBuilder::Environment::Environment | ( | const Environment & | copy | ) |
Definition at line 188 of file ast-graph-builder.cc.
|
inline |
Definition at line 209 of file ast-graph-builder.h.
References DCHECK, v8::internal::Variable::index(), v8::internal::Variable::IsParameter(), v8::internal::Variable::IsStackAllocated(), v8::internal::Variable::IsStackLocal(), parameters_count_, and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Referenced by v8::internal::compiler::AstGraphBuilder::BuildVariableAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 264 of file ast-graph-builder.h.
References v8::internal::compiler::StructuredGraphBuilder::Environment::builder().
Referenced by Environment().
Here is the call graph for this function:
Here is the caller graph for this function:| Node * v8::internal::compiler::AstGraphBuilder::Environment::Checkpoint | ( | BailoutId | ast_id, |
| OutputFrameStateCombine | combine | ||
| ) |
Definition at line 220 of file ast-graph-builder.cc.
References v8::internal::compiler::StructuredGraphBuilder::common(), v8::internal::compiler::GraphBuilder::graph(), v8::internal::compiler::JS_FRAME, v8::internal::compiler::AstGraphBuilder::jsgraph(), and v8::internal::compiler::Graph::NewNode().
Here is the call graph for this function:
|
inline |
Definition at line 254 of file ast-graph-builder.h.
References DCHECK, stack_height(), and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Here is the call graph for this function:
|
inline |
Definition at line 201 of file ast-graph-builder.h.
References locals_count_.
Referenced by Environment().
Here is the caller graph for this function:
|
inline |
Definition at line 218 of file ast-graph-builder.h.
References DCHECK, v8::internal::Variable::index(), v8::internal::Variable::IsParameter(), v8::internal::Variable::IsStackAllocated(), v8::internal::Variable::IsStackLocal(), parameters_count_, and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Referenced by v8::internal::compiler::AstGraphBuilder::BuildVariableAssignment(), and v8::internal::compiler::AstGraphBuilder::BuildVariableLoad().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 200 of file ast-graph-builder.h.
References parameters_count_.
Referenced by Environment().
Here is the caller graph for this function:
|
inline |
Definition at line 249 of file ast-graph-builder.h.
References DCHECK, stack_height(), and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Here is the call graph for this function:
|
inline |
Definition at line 244 of file ast-graph-builder.h.
References DCHECK, stack_height(), and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Here is the call graph for this function:
|
inline |
Definition at line 236 of file ast-graph-builder.h.
References DCHECK, stack_height(), and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Referenced by v8::internal::compiler::AstGraphBuilder::BuildHoleCheckSilent(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckThrow(), v8::internal::compiler::AstGraphBuilder::ProcessArguments(), v8::internal::compiler::AstGraphBuilder::VisitDelete(), v8::internal::compiler::AstGraphBuilder::VisitForInAssignment(), v8::internal::compiler::AstGraphBuilder::VisitLogicalExpression(), v8::internal::compiler::AstGraphBuilder::VisitNot(), and v8::internal::compiler::AstGraphBuilder::VisitTypeof().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 229 of file ast-graph-builder.h.
References v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Referenced by v8::internal::compiler::AstGraphBuilder::BuildHoleCheckSilent(), v8::internal::compiler::AstGraphBuilder::BuildHoleCheckThrow(), v8::internal::compiler::AstGraphBuilder::VisitCallJSRuntime(), v8::internal::compiler::AstGraphBuilder::VisitForInAssignment(), and v8::internal::compiler::AstGraphBuilder::VisitForValueOrNull().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 202 of file ast-graph-builder.h.
References locals_count_, parameters_count_, and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Referenced by Drop(), Peek(), Poke(), Pop(), and Top().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 232 of file ast-graph-builder.h.
References DCHECK, stack_height(), and v8::internal::compiler::StructuredGraphBuilder::Environment::values().
Referenced by v8::internal::compiler::AstGraphBuilder::VisitLogicalExpression().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 198 of file ast-graph-builder.cc.
References v8::internal::compiler::StructuredGraphBuilder::common(), DCHECK, v8::internal::compiler::GraphBuilder::graph(), v8::internal::compiler::Graph::NewNode(), NULL, and size.
Here is the call graph for this function:
|
private |
Definition at line 273 of file ast-graph-builder.h.
Referenced by locals_count(), and stack_height().
|
private |
Definition at line 275 of file ast-graph-builder.h.
|
private |
Definition at line 272 of file ast-graph-builder.h.
Referenced by Bind(), Lookup(), parameters_count(), and stack_height().
|
private |
Definition at line 274 of file ast-graph-builder.h.
|
private |
Definition at line 276 of file ast-graph-builder.h.