V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::CodeEntry Class Reference

Public Member Functions

 CodeEntry (CodeEventListener::LogEventsAndTags tag, const char *name, const char *resource_name=CodeEntry::kEmptyResourceName, int line_number=v8::CpuProfileNode::kNoLineNumberInfo, int column_number=v8::CpuProfileNode::kNoColumnNumberInfo, std::unique_ptr< SourcePositionTable > line_info=nullptr, Address instruction_start=kNullAddress)
 
const charname () const
 
const charresource_name () const
 
int line_number () const
 
int column_number () const
 
const SourcePositionTableline_info () const
 
int script_id () const
 
void set_script_id (int script_id)
 
int position () const
 
void set_position (int position)
 
void set_bailout_reason (const char *bailout_reason)
 
const charbailout_reason () const
 
void set_deopt_info (const char *deopt_reason, int deopt_id, std::vector< CpuProfileDeoptFrame > inlined_frames)
 
CpuProfileDeoptInfo GetDeoptInfo ()
 
bool has_deopt_info () const
 
void clear_deopt_info ()
 
void mark_used ()
 
bool used () const
 
void FillFunctionInfo (SharedFunctionInfo *shared)
 
void SetBuiltinId (Builtins::Name id)
 
Builtins::Name builtin_id () const
 
uint32_t GetHash () const
 
bool IsSameFunctionAs (const CodeEntry *entry) const
 
int GetSourceLine (int pc_offset) const
 
void AddInlineStack (int pc_offset, std::vector< std::unique_ptr< CodeEntry >> inline_stack)
 
const std::vector< std::unique_ptr< CodeEntry > > * GetInlineStack (int pc_offset) const
 
void set_instruction_start (Address start)
 
Address instruction_start () const
 
CodeEventListener::LogEventsAndTags tag () const
 

Static Public Member Functions

static V8_INLINE CodeEntryprogram_entry ()
 
static V8_INLINE CodeEntryidle_entry ()
 
static V8_INLINE CodeEntrygc_entry ()
 
static V8_INLINE CodeEntryunresolved_entry ()
 

Static Public Attributes

static const char *const kWasmResourceNamePrefix = "wasm "
 
static const char *const kEmptyResourceName = ""
 
static const char *const kEmptyBailoutReason = ""
 
static const char *const kNoDeoptReason = ""
 
static const char *const kProgramEntryName = "(program)"
 
static const char *const kIdleEntryName = "(idle)"
 
static const char *const kGarbageCollectorEntryName = "(garbage collector)"
 
static const char *const kUnresolvedFunctionName = "(unresolved function)"
 

Detailed Description

Definition at line 52 of file profile-generator.h.


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