V8 API Reference Guide generated from the header files
Data Structures | Public Types | Data Fields
v8::JitCodeEvent Struct Reference

#include <v8.h>

Data Structures

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 }
 
enum  CodeType { BYTE_CODE, JIT_CODE }
 

Data Fields

EventType type
 
CodeType code_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: