V8 API Reference Guide for node.js v9.10.0 - v9.11.1
Classes | Public Types | Public Attributes | List of all members
v8::JitCodeEvent Struct Reference

#include <v8.h>

Collaboration diagram for v8::JitCodeEvent:
Collaboration graph
[legend]

Classes

struct  line_info_t
 
struct  name_t
 

Public Types

enum  EventType {
  CODE_ADDED, CODE_MOVED, CODE_REMOVED, CODE_ADD_LINE_POS_INFO,
  CODE_START_LINE_INFO_RECORDING, CODE_END_LINE_INFO_RECORDING
}
 
enum  PositionType { POSITION, STATEMENT_POSITION }
 

Public Attributes

EventType type
 
void * code_start
 
size_t code_len
 
Local< UnboundScriptscript
 
void * user_data
 
union {
   struct name_t   name
 
   struct line_info_t   line_info
 
   void *   new_code_start
 
}; 
 

Detailed Description

A JIT code event is issued each time code is added, moved or removed.

Note
removal events are not currently issued.

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