v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
CodeStubGraphBuilder (Isolate *isolate, Stub *stub) | |
Public Member Functions inherited from CodeStubGraphBuilderBase | |
CodeStubGraphBuilderBase (Isolate *isolate, HydrogenCodeStub *stub) | |
virtual bool | BuildGraph () |
Public Member Functions inherited from HGraphBuilder | |
HGraphBuilder (CompilationInfo *info) | |
virtual | ~HGraphBuilder () |
HBasicBlock * | current_block () const |
void | set_current_block (HBasicBlock *block) |
HEnvironment * | environment () const |
Zone * | zone () const |
HGraph * | graph () const |
Isolate * | isolate () const |
CompilationInfo * | top_info () |
HGraph * | CreateGraph () |
void | Push (HValue *value) |
HValue * | Pop () |
HInstruction * | AddInstruction (HInstruction *instr) |
void | FinishCurrentBlock (HControlInstruction *last) |
void | FinishExitCurrentBlock (HControlInstruction *instruction) |
void | Goto (HBasicBlock *from, HBasicBlock *target, FunctionState *state=NULL, bool add_simulate=true) |
void | Goto (HBasicBlock *target, FunctionState *state=NULL, bool add_simulate=true) |
void | GotoNoSimulate (HBasicBlock *from, HBasicBlock *target) |
void | GotoNoSimulate (HBasicBlock *target) |
void | AddLeaveInlined (HBasicBlock *block, HValue *return_value, FunctionState *state) |
void | AddLeaveInlined (HValue *return_value, FunctionState *state) |
template<class I > | |
HInstruction * | NewUncasted () |
template<class I > | |
I * | New () |
template<class I > | |
HInstruction * | AddUncasted () |
template<class I > | |
I * | Add () |
template<class I , class P1 > | |
HInstruction * | NewUncasted (P1 p1) |
template<class I , class P1 > | |
I * | New (P1 p1) |
template<class I , class P1 > | |
HInstruction * | AddUncasted (P1 p1) |
template<class I , class P1 > | |
I * | Add (P1 p1) |
template<class I , class P1 , class P2 > | |
HInstruction * | NewUncasted (P1 p1, P2 p2) |
template<class I , class P1 , class P2 > | |
I * | New (P1 p1, P2 p2) |
template<class I , class P1 , class P2 > | |
HInstruction * | AddUncasted (P1 p1, P2 p2) |
template<class I , class P1 , class P2 > | |
I * | Add (P1 p1, P2 p2) |
template<class I , class P1 , class P2 , class P3 > | |
HInstruction * | NewUncasted (P1 p1, P2 p2, P3 p3) |
template<class I , class P1 , class P2 , class P3 > | |
I * | New (P1 p1, P2 p2, P3 p3) |
template<class I , class P1 , class P2 , class P3 > | |
HInstruction * | AddUncasted (P1 p1, P2 p2, P3 p3) |
template<class I , class P1 , class P2 , class P3 > | |
I * | Add (P1 p1, P2 p2, P3 p3) |
template<class I , class P1 , class P2 , class P3 , class P4 > | |
HInstruction * | NewUncasted (P1 p1, P2 p2, P3 p3, P4 p4) |
template<class I , class P1 , class P2 , class P3 , class P4 > | |
I * | New (P1 p1, P2 p2, P3 p3, P4 p4) |
template<class I , class P1 , class P2 , class P3 , class P4 > | |
HInstruction * | AddUncasted (P1 p1, P2 p2, P3 p3, P4 p4) |
template<class I , class P1 , class P2 , class P3 , class P4 > | |
I * | Add (P1 p1, P2 p2, P3 p3, P4 p4) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 > | |
HInstruction * | NewUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 > | |
I * | New (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 > | |
HInstruction * | AddUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 > | |
I * | Add (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 > | |
HInstruction * | NewUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 > | |
I * | New (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 > | |
HInstruction * | AddUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 > | |
I * | Add (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 > | |
HInstruction * | NewUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 > | |
I * | New (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 > | |
HInstruction * | AddUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 > | |
I * | Add (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 > | |
HInstruction * | NewUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 > | |
I * | New (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 > | |
HInstruction * | AddUncasted (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8) |
template<class I , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 > | |
I * | Add (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8) |
void | AddSimulate (BailoutId id, RemovableSimulate removable=FIXED_SIMULATE) |
template<> | |
HDeoptimize * | Add (const char *reason, Deoptimizer::BailoutType type) |
template<> | |
HInstruction * | AddUncasted (const char *reason, Deoptimizer::BailoutType type) |
template<> | |
HSimulate * | Add (BailoutId id, RemovableSimulate removable) |
template<> | |
HSimulate * | Add (BailoutId id) |
template<> | |
HInstruction * | AddUncasted (BailoutId id) |
template<> | |
HReturn * | Add (HValue *value) |
template<> | |
HReturn * | Add (HConstant *value) |
template<> | |
HInstruction * | AddUncasted (HValue *value) |
template<> | |
HInstruction * | AddUncasted (HConstant *value) |
template<> | |
HCallRuntime * | Add (Handle< String > name, const Runtime::Function *c_function, int argument_count) |
template<> | |
HInstruction * | AddUncasted (Handle< String > name, const Runtime::Function *c_function, int argument_count) |
template<> | |
HContext * | New () |
template<> | |
HInstruction * | NewUncasted () |
Additional Inherited Members | |
Protected Types inherited from CodeStubGraphBuilderBase | |
enum | ArgumentClass { NONE, SINGLE, MULTIPLE } |
Definition at line 208 of file code-stubs-hydrogen.cc.
|
inline |
Definition at line 210 of file code-stubs-hydrogen.cc.
|
inlineprotectedvirtual |
Definition at line 222 of file code-stubs-hydrogen.cc.
References v8::internal::NULL, and UNIMPLEMENTED.
Referenced by CodeStubGraphBuilder< Stub >::BuildCodeStub().
|
protected |
Definition at line 847 of file code-stubs-hydrogen.cc.
References CompareNilICStub::GetType(), and Isolate::heap().
|
protected |
Definition at line 873 of file code-stubs-hydrogen.cc.
References v8::internal::ADD, ASSERT, TypeImpl< class >::Is(), BinaryOpICStub::kLeft, BinaryOpICStub::kRight, TypeImpl< class >::Maybe(), v8::None, v8::internal::NOT_TENURED, v8::internal::NULL, and v8::internal::OVERWRITE_LEFT.
|
protected |
Definition at line 1011 of file code-stubs-hydrogen.cc.
References v8::internal::flags, v8::internal::STRING_ADD_CHECK_LEFT, and v8::internal::STRING_ADD_CHECK_RIGHT.
|
protected |
Definition at line 1037 of file code-stubs-hydrogen.cc.
References ToBooleanStub::GetTypes().
|
protected |
Definition at line 1056 of file code-stubs-hydrogen.cc.
References StoreGlobalStub::check_global(), Isolate::factory(), Smi::FromInt(), StoreGlobalStub::global_placeholder(), StoreGlobalStub::is_constant(), Factory::NewPropertyCell(), and v8::internal::NULL.
|
inlineprotectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 214 of file code-stubs-hydrogen.cc.
References CodeStubGraphBuilder< Stub >::BuildCodeInitializedStub(), CodeStubGraphBuilder< Stub >::BuildCodeUninitializedStub(), and CodeStubGraphBuilder< Stub >::casted_stub().
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 307 of file code-stubs-hydrogen.cc.
References Isolate::factory().
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 338 of file code-stubs-hydrogen.cc.
References v8::internal::info.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 351 of file code-stubs-hydrogen.cc.
References FastCloneShallowArrayStub::CLONE_ANY_ELEMENTS, Isolate::factory(), v8::internal::FAST_DOUBLE_ELEMENTS, v8::internal::FAST_ELEMENTS, AllocationSite::kTransitionInfoOffset, v8::internal::mode(), and v8::internal::NULL.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 425 of file code-stubs-hydrogen.cc.
References ASSERT, v8::internal::EQ, v8::internal::FAST_ELEMENTS, v8::internal::JS_OBJECT_TYPE, JSObject::kHeaderSize, v8::internal::kPointerSize, v8::internal::kPointerSizeLog2, AllocationMemento::kSize, AllocationSite::kTransitionInfoOffset, v8::internal::NOT_TENURED, v8::internal::NULL, and v8::internal::size.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 492 of file code-stubs-hydrogen.cc.
References Isolate::factory(), v8::internal::FAST_ELEMENTS, v8::internal::GetInitialFastElementsKind(), v8::internal::INITIALIZING_STORE, v8::internal::JS_OBJECT_TYPE, AllocationSite::kDependentCodeOffset, AllocationSite::kNestedSiteOffset, AllocationSite::kPretenureCreateCountOffset, AllocationSite::kPretenureDataOffset, AllocationSite::kSize, AllocationSite::kTransitionInfoOffset, AllocationSite::kWeakNextOffset, v8::internal::NULL, v8::internal::size, and v8::internal::TENURED.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 562 of file code-stubs-hydrogen.cc.
References v8::internal::LOAD, v8::internal::NEVER_RETURN_HOLE, v8::internal::NULL, and v8::internal::STANDARD_STORE.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 597 of file code-stubs-hydrogen.cc.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 611 of file code-stubs-hydrogen.cc.
References String::kLengthOffset, JSValue::kValueOffset, and Representation::Tagged().
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 625 of file code-stubs-hydrogen.cc.
References v8::internal::NEVER_RETURN_HOLE, and v8::internal::STORE.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 641 of file code-stubs-hydrogen.cc.
References v8::internal::info.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 764 of file code-stubs-hydrogen.cc.
References NONE.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 778 of file code-stubs-hydrogen.cc.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 792 of file code-stubs-hydrogen.cc.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 806 of file code-stubs-hydrogen.cc.
References NONE.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 820 of file code-stubs-hydrogen.cc.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 834 of file code-stubs-hydrogen.cc.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 986 of file code-stubs-hydrogen.cc.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 1109 of file code-stubs-hydrogen.cc.
References v8::internal::ALLOW_RETURN_HOLE, Deoptimizer::EAGER, v8::internal::info, v8::internal::map, and v8::internal::STORE.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 1294 of file code-stubs-hydrogen.cc.
References Isolate::counters(), Isolate::factory(), Context::FunctionMapIndex(), v8::internal::JS_FUNCTION_TYPE, JSFunction::kSize, v8::internal::NOT_TENURED, v8::internal::NULL, and v8::internal::size.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 1353 of file code-stubs-hydrogen.cc.
References Context::CLOSURE_INDEX, Context::EXTENSION_INDEX, v8::internal::FIXED_ARRAY_TYPE, Context::GLOBAL_OBJECT_INDEX, FixedArrayBase::kHeaderSize, v8::internal::kPointerSize, Context::MIN_CONTEXT_SLOTS, v8::internal::NOT_TENURED, v8::internal::NULL, and Context::PREVIOUS_INDEX.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 1408 of file code-stubs-hydrogen.cc.
|
protectedvirtual |
Implements CodeStubGraphBuilderBase.
Definition at line 1424 of file code-stubs-hydrogen.cc.
|
inlineprotectedvirtual |
Definition at line 227 of file code-stubs-hydrogen.cc.
References HGraphBuilder::graph().
Referenced by CodeStubGraphBuilder< Stub >::BuildCodeStub().
|
inlineprotected |
Definition at line 237 of file code-stubs-hydrogen.cc.
References CodeStubGraphBuilderBase::stub().
Referenced by CodeStubGraphBuilder< Stub >::BuildCodeStub().