| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index 4fc2fb4f6d82c274d7bd52f1807ba7b288790c50..564772410e02e401213dae84bf92bf8b68c6dbde 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -366,6 +366,7 @@ typedef List<HeapObject*> DebugObjectCache;
|
| V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \
|
| V(InterruptCallback, api_interrupt_callback, NULL) \
|
| V(void*, api_interrupt_callback_data, NULL) \
|
| + V(v8::CodeEventHandler*, code_event_handler, NULL) \
|
| ISOLATE_INIT_SIMULATOR_LIST(V)
|
|
|
| #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \
|
| @@ -1097,6 +1098,17 @@ class Isolate {
|
| void SetUseCounterCallback(v8::Isolate::UseCounterCallback callback);
|
| void CountUsage(v8::Isolate::UseCounterFeature feature);
|
|
|
| + // For sampler public API
|
| + void CodeCreateEvent(Code* code, const char* source);
|
| + void CodeCreateEvent(Code* code, Name* name);
|
| + void CodeCreateEvent(Code* code, String* regexp_source);
|
| + void CodeCreateEvent(Code* code,
|
| + SharedFunctionInfo* shared,
|
| + Name* source, int line, int column);
|
| + void CodeCreateEvent(Address from,
|
| + const char* name_prefix,
|
| + Name* name);
|
| +
|
| private:
|
| static void EnsureInitialized();
|
|
|
|
|