Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 97854f22eb5b74df4b55da4d37ddf4855180647b..35307ccf743fe37ec648913221dd57ff55fecccd 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -359,6 +359,8 @@ typedef List<HeapObject*> DebugObjectCache; |
V(int, max_available_threads, 0) \ |
V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ |
V(DebuggerAgent*, debugger_agent_instance, NULL) \ |
+ V(InterruptCallback, api_interrupt_callback, NULL) \ |
+ V(void*, api_interrupt_callback_data, NULL) \ |
ISOLATE_INIT_SIMULATOR_LIST(V) |
#define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ |
@@ -758,6 +760,8 @@ class Isolate { |
Object* TerminateExecution(); |
void CancelTerminateExecution(); |
+ void InvokeApiInterruptCallback(); |
+ |
// Administration |
void Iterate(ObjectVisitor* v); |
void Iterate(ObjectVisitor* v, ThreadLocalTop* t); |