v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 4730 | skipping to change at line 4730 | |||
* \note the set of events declared in JitCodeEvent::EventType is expecte d to | * \note the set of events declared in JitCodeEvent::EventType is expecte d to | |||
* grow over time, and the JitCodeEvent structure is expected to accr ue | * grow over time, and the JitCodeEvent structure is expected to accr ue | |||
* new members. The \p event_handler function must ignore event codes | * new members. The \p event_handler function must ignore event codes | |||
* it does not recognize to maintain future compatibility. | * it does not recognize to maintain future compatibility. | |||
*/ | */ | |||
static void SetJitCodeEventHandler(JitCodeEventOptions options, | static void SetJitCodeEventHandler(JitCodeEventOptions options, | |||
JitCodeEventHandler event_handler); | JitCodeEventHandler event_handler); | |||
/** | /** | |||
* Forcefully terminate the current thread of JavaScript execution | * Forcefully terminate the current thread of JavaScript execution | |||
* in the given isolate. If no isolate is provided, the default | * in the given isolate. | |||
* isolate is used. | ||||
* | * | |||
* This method can be used by any thread even if that thread has not | * This method can be used by any thread even if that thread has not | |||
* acquired the V8 lock with a Locker object. | * acquired the V8 lock with a Locker object. | |||
* | * | |||
* \param isolate The isolate in which to terminate the current JS execut ion. | * \param isolate The isolate in which to terminate the current JS execut ion. | |||
*/ | */ | |||
static void TerminateExecution(Isolate* isolate = NULL); | static void TerminateExecution(Isolate* isolate); | |||
/** | /** | |||
* Is V8 terminating JavaScript execution. | * Is V8 terminating JavaScript execution. | |||
* | * | |||
* Returns true if JavaScript execution is currently terminating | * Returns true if JavaScript execution is currently terminating | |||
* because of a call to TerminateExecution. In that case there are | * because of a call to TerminateExecution. In that case there are | |||
* still JavaScript frames on the stack and the termination | * still JavaScript frames on the stack and the termination | |||
* exception is still active. | * exception is still active. | |||
* | * | |||
* \param isolate The isolate in which to check. | * \param isolate The isolate in which to check. | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||