|
V8 Project
|
#include <js-context-specialization.h>
Collaboration diagram for v8::internal::compiler::JSContextSpecializer:Public Member Functions | |
| JSContextSpecializer (CompilationInfo *info, JSGraph *jsgraph, Node *context) | |
| void | SpecializeToContext () |
| Reduction | ReduceJSLoadContext (Node *node) |
| Reduction | ReduceJSStoreContext (Node *node) |
Private Attributes | |
| CompilationInfo * | info_ |
| JSGraph * | jsgraph_ |
| Node * | context_ |
Definition at line 19 of file js-context-specialization.h.
|
inline |
Definition at line 21 of file js-context-specialization.h.
| Reduction v8::internal::compiler::JSContextSpecializer::ReduceJSLoadContext | ( | Node * | node | ) |
Definition at line 61 of file js-context-specialization.cc.
References v8::internal::compiler::Reducer::Changed(), v8::internal::compiler::JSGraph::Constant(), DCHECK_EQ, v8::internal::compiler::ContextAccess::depth(), v8::internal::FixedArray::get(), v8::internal::compiler::NodeProperties::GetValueInput(), v8::internal::compiler::ContextAccess::immutable(), v8::internal::compiler::ContextAccess::index(), info_, v8::internal::CompilationInfo::isolate(), v8::internal::compiler::JSGraph::javascript(), jsgraph_, v8::internal::compiler::JSOperatorBuilder::LoadContext(), v8::internal::compiler::Reducer::NoChange(), v8::internal::Context::previous(), and v8::internal::compiler::Reducer::Replace().
Referenced by v8::internal::compiler::ContextSpecializationVisitor::Post().
Here is the call graph for this function:
Here is the caller graph for this function:| Reduction v8::internal::compiler::JSContextSpecializer::ReduceJSStoreContext | ( | Node * | node | ) |
Definition at line 109 of file js-context-specialization.cc.
References v8::internal::compiler::Reducer::Changed(), v8::internal::compiler::JSGraph::Constant(), DCHECK_EQ, v8::internal::compiler::ContextAccess::depth(), v8::internal::compiler::NodeProperties::GetValueInput(), v8::internal::compiler::ContextAccess::index(), info_, v8::internal::CompilationInfo::isolate(), v8::internal::compiler::JSGraph::javascript(), jsgraph_, v8::internal::compiler::Reducer::NoChange(), v8::internal::Context::previous(), and v8::internal::compiler::JSOperatorBuilder::StoreContext().
Referenced by v8::internal::compiler::ContextSpecializationVisitor::Post().
Here is the call graph for this function:
Here is the caller graph for this function:| void v8::internal::compiler::JSContextSpecializer::SpecializeToContext | ( | ) |
Definition at line 52 of file js-context-specialization.cc.
References v8::internal::compiler::JSGraph::Constant(), v8::internal::CompilationInfo::context(), context_, v8::internal::compiler::JSGraph::graph(), info_, jsgraph_, v8::internal::compiler::NodeProperties::ReplaceWithValue(), and v8::internal::compiler::Graph::VisitNodeInputsFromEnd().
Referenced by v8::internal::compiler::Pipeline::GenerateCode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 31 of file js-context-specialization.h.
Referenced by SpecializeToContext().
|
private |
Definition at line 29 of file js-context-specialization.h.
Referenced by ReduceJSLoadContext(), ReduceJSStoreContext(), and SpecializeToContext().
|
private |
Definition at line 30 of file js-context-specialization.h.
Referenced by ReduceJSLoadContext(), ReduceJSStoreContext(), and SpecializeToContext().