| 428 | // native call and VM interrupt paths. |
| 429 | __attribute__((no_sanitize("thread"))) void IJavaScriptContext::requestInterrupt() { |
| 430 | _interruptRequested = true; |
| 431 | } |
| 432 | |
| 433 | __attribute__((no_sanitize("thread"))) void IJavaScriptContext::requestExecutionTermination() { |
| 434 | // Unlike the diagnostic interrupt, this is monotonic for the lifetime of |
| 435 | // the context. Keeping it sticky also makes native-call checkpoints useful |
| 436 | // for engines which cannot interrupt pure JavaScript execution. |
no test coverage detected