v8
3.25.30(node0.11.13)
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 |
int | GetScriptId () 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 (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 |
Static Protected Member Functions | |
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) |
Friends | |
class | StackFrame |
class | SafeStackFrameIterator |
|
inlineexplicitprotected |
Definition at line 168 of file frames-inl.h.
|
inlineprotected |
Definition at line 189 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 194 of file frames-inl.h.
References Memory::Address_at(), StandardFrame::ComputePCAddress(), and v8::internal::fp.
|
inlinestatic |
|
protectedvirtual |
Definition at line 614 of file frames.cc.
References StandardFrame::caller_fp(), StandardFrame::ComputeConstantPoolAddress(), StandardFrame::ComputePCAddress(), and v8::internal::fp.
Definition at line 204 of file frames-inl.h.
References StandardFrameConstants::kConstantPoolOffset.
Referenced by StandardFrame::ComputeCallerState().
int ComputeExpressionsCount | ( | ) | const |
Definition at line 603 of file frames.cc.
References ASSERT, v8::internal::fp, StandardFrameConstants::kExpressionsOffset, v8::internal::kPointerSize, and v8::internal::sp.
Referenced by JavaScriptFrame::Print().
Definition at line 199 of file frames-inl.h.
References StandardFrameConstants::kCallerPCOffset.
Referenced by StandardFrame::caller_pc(), StandardFrame::ComputeCallerState(), and SafeStackFrameIterator::SafeStackFrameIterator().
|
inline |
Definition at line 183 of file frames-inl.h.
References v8::internal::fp, StandardFrameConstants::kContextOffset, and Memory::Object_at().
Referenced by Isolate::GetCallingNativeContext(), JavaScriptFrame::Print(), and v8::internal::RUNTIME_FUNCTION().
|
inline |
Definition at line 173 of file frames-inl.h.
References StandardFrame::GetExpressionAddress(), and Memory::Object_at().
Referenced by JavaScriptFrame::GetArgumentsLength(), ArgumentsAdaptorFrame::GetNumberOfIncomingArguments(), JavaScriptFrame::Print(), and OptimizedFrame::Summarize().
Definition at line 592 of file frames.cc.
References StandardFrame::GetExpressionAddress(), and Memory::Object_at().
|
protected |
Definition at line 586 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 597 of file frames.cc.
References StandardFrameConstants::kExpressionsOffset, and v8::internal::kPointerSize.
|
inlinestaticprotected |
Definition at line 209 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 216 of file frames-inl.h.
References Smi::FromInt(), StandardFrameConstants::kMarkerOffset, and Memory::Object_at().
Referenced by JavaScriptFrame::IsConstructor().
|
protected |
Definition at line 630 of file frames.cc.
References StandardFrame::GetExpressionAddress().
Referenced by JavaScriptFrame::Print().
|
protected |
Definition at line 639 of file frames.cc.
References ASSERT, Serializer::enabled(), v8::internal::fp, v8::internal::kBitsPerByte, v8::internal::kBitsPerByteLog2, v8::internal::kDoubleSize, JavaScriptFrameConstants::kFunctionOffset, StandardFrameConstants::kMarkerOffset, v8::internal::kNumSafepointRegisters, v8::internal::kPointerSize, DwVfpRegister::NumAllocatableRegisters(), Memory::Object_at(), v8::internal::pc, v8::internal::sp, and v8::internal::U.
Referenced by StubFrame::Iterate(), and OptimizedFrame::Iterate().
|
protected |
Definition at line 1356 of file frames.cc.
References v8::internal::fp, StandardFrameConstants::kLastObjectOffset, StackHandlerConstants::kSize, Memory::Object_at(), and v8::internal::sp.
Referenced by JavaScriptFrame::Iterate(), and InternalFrame::Iterate().
|
virtual |
Definition at line 624 of file frames.cc.
References Memory::Address_at(), StandardFrame::caller_fp(), v8::internal::fp, and StandardFrameConstants::kCallerFPOffset.
|
inline |
Definition at line 178 of file frames-inl.h.
References StandardFrame::GetExpressionAddress(), and Memory::Object_at().
|
friend |
|
friend |