| Index: test/cctest/test-thread-termination.cc
|
| diff --git a/test/cctest/test-thread-termination.cc b/test/cctest/test-thread-termination.cc
|
| index 250e9a344ada7b818c635dc2ce78f1c926e92649..0d20e0f043ec0b2058d69237c47afd7164e68fe7 100644
|
| --- a/test/cctest/test-thread-termination.cc
|
| +++ b/test/cctest/test-thread-termination.cc
|
| @@ -192,6 +192,7 @@ TEST(TerminateOnlyV8ThreadFromOtherThread) {
|
| // Run a loop that will be infinite if thread termination does not work.
|
| v8::Handle<v8::String> source = v8::String::NewFromUtf8(
|
| CcTest::isolate(), "try { loop(); fail(); } catch(e) { fail(); }");
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| v8::Script::Compile(source)->Run();
|
|
|
| thread.Join();
|
| @@ -376,6 +377,7 @@ void MicrotaskLoopForever(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| // Enqueue another should-not-run task to ensure we clean out the queue
|
| // when we terminate.
|
| isolate->EnqueueMicrotask(v8::Function::New(isolate, MicrotaskShouldNotRun));
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("terminate(); while (true) { }");
|
| CHECK(v8::V8::IsExecutionTerminating());
|
| }
|
|
|