V8 Project
v8::internal::EntryConstructFrame Class Reference

#include <frames.h>

+ Inheritance diagram for v8::internal::EntryConstructFrame:
+ Collaboration diagram for v8::internal::EntryConstructFrame:

Public Member Functions

virtual Type type () const
 
virtual Codeunchecked_code () const
 
- Public Member Functions inherited from v8::internal::EntryFrame
virtual void Iterate (ObjectVisitor *v) const
 
virtual void SetCallerFp (Address caller_fp)
 
- Public Member Functions inherited from v8::StackFrame
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< StringGetScriptName () const
 Returns the name of the resource that contains the script for the function for this StackFrame. More...
 
Local< StringGetScriptNameOrSourceURL () 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< StringGetFunctionName () 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 EntryConstructFramecast (StackFrame *frame)
 
- Static Public Member Functions inherited from v8::internal::EntryFrame
static EntryFramecast (StackFrame *frame)
 

Protected Member Functions

 EntryConstructFrame (StackFrameIteratorBase *iterator)
 
- Protected Member Functions inherited from v8::internal::EntryFrame
 EntryFrame (StackFrameIteratorBase *iterator)
 
virtual Address GetCallerStackPointer () const
 

Friends

class StackFrameIteratorBase
 

Detailed Description

Definition at line 395 of file frames.h.

Constructor & Destructor Documentation

◆ EntryConstructFrame()

v8::internal::EntryConstructFrame::EntryConstructFrame ( StackFrameIteratorBase iterator)
inlineexplicitprotected

Definition at line 138 of file frames-inl.h.

140  : EntryFrame(iterator) {
141 }
EntryFrame(StackFrameIteratorBase *iterator)
Definition: frames-inl.h:133

Member Function Documentation

◆ cast()

static EntryConstructFrame* v8::internal::EntryConstructFrame::cast ( StackFrame frame)
inlinestatic

Definition at line 401 of file frames.h.

401  {
402  DCHECK(frame->is_entry_construct());
403  return static_cast<EntryConstructFrame*>(frame);
404  }
EntryConstructFrame(StackFrameIteratorBase *iterator)
Definition: frames-inl.h:138
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK.

◆ type()

virtual Type v8::internal::EntryConstructFrame::type ( ) const
inlinevirtual

Reimplemented from v8::internal::EntryFrame.

Definition at line 397 of file frames.h.

397 { return ENTRY_CONSTRUCT; }

◆ unchecked_code()

Code * v8::internal::EntryConstructFrame::unchecked_code ( ) const
virtual

Reimplemented from v8::internal::EntryFrame.

Definition at line 489 of file frames.cc.

489  {
490  return isolate()->heap()->js_construct_entry_code();
491 }

References v8::internal::Isolate::heap().

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ StackFrameIteratorBase

friend class StackFrameIteratorBase
friend

Definition at line 410 of file frames.h.


The documentation for this class was generated from the following files: