v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JitCodeEvent Struct Reference

#include <v8.h>

Collaboration diagram for JitCodeEvent:

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 }
 

Data Fields

EventType type
 
void * code_start
 
size_t code_len
 
Handle< Scriptscript
 
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.

Definition at line 4518 of file v8.h.

Member Enumeration Documentation

enum EventType
Enumerator
CODE_ADDED 
CODE_MOVED 
CODE_REMOVED 
CODE_ADD_LINE_POS_INFO 
CODE_START_LINE_INFO_RECORDING 
CODE_END_LINE_INFO_RECORDING 

Definition at line 4519 of file v8.h.

Enumerator
POSITION 
STATEMENT_POSITION 

Definition at line 4532 of file v8.h.

Field Documentation

union { ... }
size_t code_len

Definition at line 4542 of file v8.h.

Referenced by SetFunctionEntryHookTest::OnJitEvent().

void* code_start

Definition at line 4540 of file v8.h.

Referenced by SetFunctionEntryHookTest::OnJitEvent().

struct line_info_t line_info

Definition at line 4573 of file v8.h.

struct name_t name

Definition at line 4570 of file v8.h.

Referenced by SetFunctionEntryHookTest::OnJitEvent().

void* new_code_start

Definition at line 4576 of file v8.h.

Referenced by SetFunctionEntryHookTest::OnJitEvent().

Handle<Script> script

Definition at line 4544 of file v8.h.

void* user_data

Definition at line 4549 of file v8.h.


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