v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <frames.h>
Public Member Functions | |
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 |
Local< String > | GetScriptName () const |
Local< String > | GetScriptNameOrSourceURL () const |
Local< String > | GetFunctionName () const |
bool | IsEval () const |
bool | IsConstructor () const |
Static Public Member Functions | |
static Object * | GetExpression (Address fp, int index) |
static StandardFrame * | cast (StackFrame *frame) |
Protected Member Functions | |
StandardFrame (StackFrameIterator *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 |
Static Protected Member Functions | |
static Address | ComputePCAddress (Address fp) |
static Address | GetExpressionAddress (Address fp, int n) |
static bool | IsArgumentsAdaptorFrame (Address fp) |
static bool | IsConstructFrame (Address fp) |
Friends | |
class | StackFrame |
class | StackFrameIterator |
|
inlineexplicitprotected |
Definition at line 148 of file frames-inl.h.
|
inlineprotected |
Definition at line 169 of file frames-inl.h.
References Memory::Address_at(), v8::internal::fp, and StandardFrameConstants::kCallerFPOffset.
Referenced by StandardFrame::ComputeCallerState(), JavaScriptFrame::GetArgumentsLength(), JavaScriptFrame::has_adapted_arguments(), JavaScriptFrame::IsConstructor(), and StandardFrame::SetCallerFp().
|
inlineprotected |
Definition at line 174 of file frames-inl.h.
References Memory::Address_at(), StandardFrame::ComputePCAddress(), and v8::internal::fp.
|
inlinestatic |
|
protectedvirtual |
Definition at line 597 of file frames.cc.
References StandardFrame::caller_fp(), StandardFrame::ComputePCAddress(), and v8::internal::fp.
int ComputeExpressionsCount | ( | ) | const |
Definition at line 586 of file frames.cc.
References ASSERT, v8::internal::fp, StandardFrameConstants::kExpressionsOffset, v8::internal::kPointerSize, and v8::internal::sp.
Referenced by Deoptimizer::MaterializeHeapObjects(), JavaScriptFrame::Print(), CallICBase::ReceiverToObjectIfRequired(), and CallICBase::TryCallAsFunction().
Definition at line 179 of file frames-inl.h.
References StandardFrameConstants::kCallerPCOffset.
Referenced by StandardFrame::caller_pc(), and StandardFrame::ComputeCallerState().
|
inline |
Definition at line 163 of file frames-inl.h.
References v8::internal::fp, StandardFrameConstants::kContextOffset, and Memory::Object_at().
Referenced by Isolate::GetCallingNativeContext(), and JavaScriptFrame::Print().
|
inline |
Definition at line 153 of file frames-inl.h.
References StandardFrame::GetExpressionAddress(), and Memory::Object_at().
Referenced by Accessors::FunctionGetArguments(), JavaScriptFrame::GetArgumentsLength(), ArgumentsAdaptorFrame::GetNumberOfIncomingArguments(), Deoptimizer::MaterializeHeapObjects(), JavaScriptFrame::Print(), and OptimizedFrame::Summarize().
Definition at line 575 of file frames.cc.
References StandardFrame::GetExpressionAddress(), and Memory::Object_at().
|
protected |
Definition at line 569 of file frames.cc.
References v8::internal::fp, StandardFrameConstants::kExpressionsOffset, and v8::internal::kPointerSize.
Referenced by StandardFrame::GetExpression(), StandardFrame::IsExpressionInsideHandler(), and StandardFrame::SetExpression().
Definition at line 580 of file frames.cc.
References StandardFrameConstants::kExpressionsOffset, and v8::internal::kPointerSize.
|
inlinestaticprotected |
Definition at line 184 of file frames-inl.h.
References v8::internal::ARGUMENTS_ADAPTOR, Smi::FromInt(), StandardFrameConstants::kContextOffset, and Memory::Object_at().
Referenced by JavaScriptFrame::has_adapted_arguments().
|
inlinestaticprotected |
Definition at line 191 of file frames-inl.h.
References Smi::FromInt(), StandardFrameConstants::kMarkerOffset, and Memory::Object_at().
Referenced by JavaScriptFrame::IsConstructor().
|
protected |
Definition at line 611 of file frames.cc.
References StandardFrame::GetExpressionAddress().
Referenced by JavaScriptFrame::Print().
|
protected |
Definition at line 1241 of file frames.cc.
References v8::internal::fp, StandardFrameConstants::kContextOffset, StackHandlerConstants::kSize, Memory::Object_at(), and v8::internal::sp.
Referenced by JavaScriptFrame::Iterate(), and InternalFrame::Iterate().
|
virtual |
Definition at line 605 of file frames.cc.
References Memory::Address_at(), StandardFrame::caller_fp(), v8::internal::fp, and StandardFrameConstants::kCallerFPOffset.
|
inline |
Definition at line 158 of file frames-inl.h.
References StandardFrame::GetExpressionAddress(), and Memory::Object_at().
Referenced by Deoptimizer::MaterializeHeapObjects(), CallICBase::ReceiverToObjectIfRequired(), and CallICBase::TryCallAsFunction().
|
friend |