Index: test/cctest/test-thread-termination.cc |
diff --git a/test/cctest/test-thread-termination.cc b/test/cctest/test-thread-termination.cc |
index 0d20e0f043ec0b2058d69237c47afd7164e68fe7..e1f218ced7d4f72bfa6d9890df875ba2e5eb5a3e 100644 |
--- a/test/cctest/test-thread-termination.cc |
+++ b/test/cctest/test-thread-termination.cc |
@@ -152,6 +152,7 @@ TEST(TerminateOnlyV8ThreadFromThreadItselfNoLoop) { |
// 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(); |
CHECK(!v8::V8::IsExecutionTerminating(CcTest::isolate())); |
// Test that we can run the code again after thread termination. |
@@ -361,6 +362,7 @@ TEST(TerminateCancelTerminateFromThreadItself) { |
CHECK(!v8::V8::IsExecutionTerminating(CcTest::isolate())); |
v8::Handle<v8::String> source = v8::String::NewFromUtf8( |
isolate, "try { doloop(); } catch(e) { fail(); } 'completed';"); |
+ i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops. |
// Check that execution completed with correct return value. |
CHECK(v8::Script::Compile(source)->Run()->Equals(v8_str("completed"))); |
} |
@@ -507,6 +509,7 @@ TEST(TerminationInInnerTryCall) { |
v8::Context::Scope context_scope(context); |
{ |
v8::TryCatch try_catch; |
+ i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops. |
CompileRun("inner_try_call_terminate()"); |
CHECK(try_catch.HasTerminated()); |
} |