V8 Project
v8::internal::SingleFrameTarget Class Reference
+ Collaboration diagram for v8::internal::SingleFrameTarget:

Public Member Functions

 SingleFrameTarget (JavaScriptFrame *frame)
 
bool MatchActivation (StackFrame *frame, LiveEdit::FunctionPatchabilityStatus status)
 
const char * GetNotFoundMessage () const
 
LiveEdit::FunctionPatchabilityStatus saved_status ()
 

Private Attributes

JavaScriptFramem_frame
 
LiveEdit::FunctionPatchabilityStatus m_saved_status
 

Detailed Description

Definition at line 2006 of file liveedit.cc.

Constructor & Destructor Documentation

◆ SingleFrameTarget()

v8::internal::SingleFrameTarget::SingleFrameTarget ( JavaScriptFrame frame)
inlineexplicit

Definition at line 2008 of file liveedit.cc.

2009  : m_frame(frame),
LiveEdit::FunctionPatchabilityStatus m_saved_status
Definition: liveedit.cc:2028

Member Function Documentation

◆ GetNotFoundMessage()

const char* v8::internal::SingleFrameTarget::GetNotFoundMessage ( ) const
inline

Definition at line 2020 of file liveedit.cc.

2020  {
2021  return "Failed to found requested frame";
2022  }

◆ MatchActivation()

bool v8::internal::SingleFrameTarget::MatchActivation ( StackFrame frame,
LiveEdit::FunctionPatchabilityStatus  status 
)
inline

Definition at line 2012 of file liveedit.cc.

2013  {
2014  if (frame->fp() == m_frame->fp()) {
2015  m_saved_status = status;
2016  return true;
2017  }
2018  return false;
2019  }

References m_frame, and m_saved_status.

◆ saved_status()

LiveEdit::FunctionPatchabilityStatus v8::internal::SingleFrameTarget::saved_status ( )
inline

Definition at line 2023 of file liveedit.cc.

2023  {
2024  return m_saved_status;
2025  }

References m_saved_status.

Referenced by v8::internal::LiveEdit::RestartFrame().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_frame

JavaScriptFrame* v8::internal::SingleFrameTarget::m_frame
private

Definition at line 2027 of file liveedit.cc.

Referenced by MatchActivation().

◆ m_saved_status

LiveEdit::FunctionPatchabilityStatus v8::internal::SingleFrameTarget::m_saved_status
private

Definition at line 2028 of file liveedit.cc.

Referenced by MatchActivation(), and saved_status().


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