| Index: src/execution.cc
|
| diff --git a/src/execution.cc b/src/execution.cc
|
| index 025a25619f3f1fdbbd5f933b1471c6db56e5fa7c..c67fbc2bed9995e18587ebb44c5ff7889a29d5a7 100644
|
| --- a/src/execution.cc
|
| +++ b/src/execution.cc
|
| @@ -426,6 +426,13 @@ bool StackGuard::IsTerminateExecution() {
|
| }
|
|
|
|
|
| +void StackGuard::CancelTerminateExecution() {
|
| + ExecutionAccess access(isolate_);
|
| + Continue(TERMINATE);
|
| + isolate_->CancelTerminateExecution();
|
| +}
|
| +
|
| +
|
| void StackGuard::TerminateExecution() {
|
| ExecutionAccess access(isolate_);
|
| thread_local_.interrupt_flags_ |= TERMINATE;
|
|
|