v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <frames.h>
Public Member Functions | |
virtual Type | type () const |
virtual void | Iterate (ObjectVisitor *v) const |
virtual int | GetInlineCount () |
virtual void | GetFunctions (List< JSFunction * > *functions) |
virtual void | Summarize (List< FrameSummary > *frames) |
DeoptimizationInputData * | GetDeoptimizationData (int *deopt_index) |
Public Member Functions inherited from JavaScriptFrame | |
JSFunction * | function () const |
Object * | receiver () const |
void | set_receiver (Object *value) |
Address | GetParameterSlot (int index) const |
Object * | GetParameter (int index) const |
int | ComputeParametersCount () const |
Address | GetOperandSlot (int index) const |
Object * | GetOperand (int index) const |
int | ComputeOperandsCount () const |
void | SaveOperandStack (FixedArray *store, int *stack_handler_index) const |
void | RestoreOperandStack (FixedArray *store, int stack_handler_index) |
void | SetParameterValue (int index, Object *value) const |
bool | IsConstructor () const |
bool | has_adapted_arguments () const |
int | GetArgumentsLength () const |
virtual void | Print (StringStream *accumulator, PrintMode mode, int index) const |
virtual Code * | unchecked_code () const |
Public Member Functions inherited from StandardFrame | |
virtual bool | is_standard () const |
Object * | context () const |
Object * | GetExpression (int index) const |
void | SetExpression (int index, Object *value) |
int | ComputeExpressionsCount () const |
virtual void | SetCallerFp (Address caller_fp) |
Public Member Functions inherited from StackFrame | |
int | GetLineNumber () const |
int | GetColumn () const |
int | GetScriptId () const |
Local< String > | GetScriptName () const |
Local< String > | GetScriptNameOrSourceURL () const |
Local< String > | GetFunctionName () const |
bool | IsEval () const |
bool | IsConstructor () const |
Protected Member Functions | |
OptimizedFrame (StackFrameIteratorBase *iterator) | |
Protected Member Functions inherited from JavaScriptFrame | |
JavaScriptFrame (StackFrameIteratorBase *iterator) | |
virtual Address | GetCallerStackPointer () const |
virtual int | GetNumberOfIncomingArguments () const |
void | IterateArguments (ObjectVisitor *v) const |
Protected Member Functions inherited from StandardFrame | |
StandardFrame (StackFrameIteratorBase *iterator) | |
virtual void | ComputeCallerState (State *state) const |
Address | caller_fp () const |
Address | caller_pc () const |
void | IterateExpressions (ObjectVisitor *v) const |
Address | GetExpressionAddress (int n) const |
bool | IsExpressionInsideHandler (int n) const |
void | IterateCompiledFrame (ObjectVisitor *v) const |
Friends | |
class | StackFrameIteratorBase |
Additional Inherited Members | |
Static Public Member Functions inherited from JavaScriptFrame | |
static Register | fp_register () |
static Register | context_register () |
static Register | constant_pool_pointer_register () |
static JavaScriptFrame * | cast (StackFrame *frame) |
static void | PrintTop (Isolate *isolate, FILE *file, bool print_args, bool print_line_number) |
Static Public Member Functions inherited from StandardFrame | |
static Object * | GetExpression (Address fp, int index) |
static StandardFrame * | cast (StackFrame *frame) |
Static Protected Member Functions inherited from StandardFrame | |
static Address | ComputePCAddress (Address fp) |
static Address | ComputeConstantPoolAddress (Address fp) |
static Address | GetExpressionAddress (Address fp, int n) |
static bool | IsArgumentsAdaptorFrame (Address fp) |
static bool | IsConstructFrame (Address fp) |
|
inlineexplicitprotected |
Definition at line 294 of file frames-inl.h.
DeoptimizationInputData * GetDeoptimizationData | ( | int * | deopt_index | ) |
Definition at line 1058 of file frames.cc.
References ASSERT, DeoptimizationInputData::cast(), JSFunction::code(), Code::contains(), Code::GetSafepointEntry(), Isolate::inner_pointer_to_code_cache(), Code::kind(), v8::internal::NULL, and v8::internal::pc.
Referenced by OptimizedFrame::GetFunctions(), OptimizedFrame::GetInlineCount(), and OptimizedFrame::Summarize().
|
virtual |
Reimplemented from JavaScriptFrame.
Definition at line 1100 of file frames.cc.
References List< T, P >::Add(), ASSERT, and OptimizedFrame::GetDeoptimizationData().
|
virtual |
Reimplemented from JavaScriptFrame.
Definition at line 1083 of file frames.cc.
References ASSERT, OptimizedFrame::GetDeoptimizationData(), and v8::internal::USE().
|
virtual |
Reimplemented from JavaScriptFrame.
Definition at line 731 of file frames.cc.
References ASSERT, and StandardFrame::IterateCompiledFrame().
|
virtual |
Reimplemented from JavaScriptFrame.
Definition at line 956 of file frames.cc.
References List< T, P >::Add(), ASSERT, DeoptimizationOutputData::cast(), JavaScriptFrame::ComputeParametersCount(), BitFieldBase< unsigned, shift, size, uint32_t >::decode(), JavaScriptFrame::function(), FixedArray::get(), OptimizedFrame::GetDeoptimizationData(), StandardFrame::GetExpression(), Deoptimizer::GetOutputInfo(), JavaScriptFrame::GetParameter(), Isolate::heap(), JavaScriptFrame::IsConstructor(), Code::kHeaderSize, v8::internal::NULL, JavaScriptFrame::receiver(), and JavaScriptFrame::Summarize().
|
inlinevirtual |
Reimplemented from JavaScriptFrame.