V8 Project
|
#include <frames.h>
Public Member Functions | |
virtual Type | type () const |
virtual Code * | unchecked_code () const |
Object *& | code_slot () const |
Object *& | constant_pool_slot () const |
virtual void | Iterate (ObjectVisitor *v) const |
virtual void | SetCallerFp (Address caller_fp) |
![]() | |
int | GetLineNumber () const |
Returns the number, 1-based, of the line for the associate function call. More... | |
int | GetColumn () const |
Returns the 1-based column offset on the line for the associated function call. More... | |
int | GetScriptId () const |
Returns the id of the script for the function for this StackFrame. More... | |
Local< String > | GetScriptName () const |
Returns the name of the resource that contains the script for the function for this StackFrame. More... | |
Local< String > | GetScriptNameOrSourceURL () const |
Returns the name of the resource that contains the script for the function for this StackFrame or sourceURL value if the script name is undefined and its source ends with //# sourceURL=... More... | |
Local< String > | GetFunctionName () const |
Returns the name of the function associated with this stack frame. More... | |
bool | IsEval () const |
Returns whether or not the associated function is compiled via a call to eval(). More... | |
bool | IsConstructor () const |
Returns whether or not the associated function is called as a constructor via "new". More... | |
Static Public Member Functions | |
static ExitFrame * | cast (StackFrame *frame) |
static Type | GetStateForFramePointer (Address fp, State *state) |
static Address | ComputeStackPointer (Address fp) |
static void | FillState (Address fp, Address sp, State *state) |
Protected Member Functions | |
ExitFrame (StackFrameIteratorBase *iterator) | |
virtual Address | GetCallerStackPointer () const |
Private Member Functions | |
virtual void | ComputeCallerState (State *state) const |
Friends | |
class | StackFrameIteratorBase |
|
inlineexplicitprotected |
Definition at line 144 of file frames-inl.h.
|
inlinestatic |
Definition at line 429 of file frames.h.
References DCHECK.
Object *& v8::internal::ExitFrame::code_slot | ( | ) | const |
Definition at line 494 of file frames.cc.
References v8::internal::fp, v8::internal::ExitFrameConstants::kCodeOffset, and v8::internal::Memory::Object_at().
Referenced by Iterate(), and unchecked_code().
|
privatevirtual |
Definition at line 505 of file frames.cc.
References v8::internal::Memory::Address_at(), v8::internal::fp, v8::internal::ExitFrameConstants::kCallerFPOffset, v8::internal::ExitFrameConstants::kCallerPCOffset, and v8::internal::ExitFrameConstants::kConstantPoolOffset.
Definition at line 548 of file frames.cc.
References v8::internal::Memory::Address_at(), v8::internal::fp, and v8::internal::ExitFrameConstants::kSPOffset.
Referenced by GetStateForFramePointer(), and v8::internal::SafeStackFrameIterator::IsValidExitFrame().
Object*& v8::internal::ExitFrame::constant_pool_slot | ( | ) | const |
Definition at line 553 of file frames.cc.
References v8::internal::fp, v8::internal::ExitFrameConstants::kConstantPoolOffset, v8::internal::kPCOnStackSize, and v8::internal::sp.
Referenced by GetStateForFramePointer(), and v8::internal::SafeStackFrameIterator::IsValidExitFrame().
|
protectedvirtual |
Definition at line 534 of file frames.cc.
References v8::internal::fp, and v8::internal::ExitFrameConstants::kCallerSPDisplacement.
|
static |
Definition at line 539 of file frames.cc.
References ComputeStackPointer(), DCHECK, FillState(), v8::internal::fp, NONE, NULL, and v8::internal::sp.
Referenced by v8::internal::EntryFrame::GetCallerState(), v8::internal::StackFrameIterator::Reset(), and v8::internal::SafeStackFrameIterator::SafeStackFrameIterator().
|
virtual |
Definition at line 523 of file frames.cc.
References code_slot(), and constant_pool_slot().
|
virtual |
Definition at line 518 of file frames.cc.
References v8::internal::Memory::Address_at(), v8::internal::fp, and v8::internal::ExitFrameConstants::kCallerFPOffset.
|
inlinevirtual |
|
virtual |
Definition at line 500 of file frames.cc.
References code_slot().
|
friend |