| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 3ea67d8b9ca2cef5015c427ae5d421d0c7170e20..0714e404b4fc6386ab0535f952717993c0de87f8 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -19904,6 +19904,7 @@ class RequestInterruptTestWithFunctionCall
|
| isolate_, ShouldContinueCallback, v8::External::New(isolate_, this));
|
| env_->Global()->Set(v8_str("ShouldContinue"), func);
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("while (ShouldContinue()) { }");
|
| }
|
| };
|
| @@ -19919,6 +19920,7 @@ class RequestInterruptTestWithMethodCall
|
| isolate_, ShouldContinueCallback, v8::External::New(isolate_, this)));
|
| env_->Global()->Set(v8_str("Klass"), t->GetFunction());
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("var obj = new Klass; while (obj.shouldContinue()) { }");
|
| }
|
| };
|
| @@ -19934,6 +19936,7 @@ class RequestInterruptTestWithAccessor
|
| isolate_, ShouldContinueCallback, v8::External::New(isolate_, this)));
|
| env_->Global()->Set(v8_str("Klass"), t->GetFunction());
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("var obj = new Klass; while (obj.shouldContinue) { }");
|
| }
|
| };
|
| @@ -19951,6 +19954,7 @@ class RequestInterruptTestWithNativeAccessor
|
| v8::External::New(isolate_, this));
|
| env_->Global()->Set(v8_str("Klass"), t->GetFunction());
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("var obj = new Klass; while (obj.shouldContinue) { }");
|
| }
|
|
|
| @@ -19980,6 +19984,7 @@ class RequestInterruptTestWithMethodCallAndInterceptor
|
|
|
| env_->Global()->Set(v8_str("Klass"), t->GetFunction());
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("var obj = new Klass; while (obj.shouldContinue()) { }");
|
| }
|
|
|
| @@ -20004,6 +20009,7 @@ class RequestInterruptTestWithMathAbs
|
| v8::External::New(isolate_, this)));
|
|
|
| i::FLAG_allow_natives_syntax = true;
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("function loopish(o) {"
|
| " var pre = 10;"
|
| " while (o.abs(1) > 0) {"
|
| @@ -20087,6 +20093,7 @@ class RequestMultipleInterrupts : public RequestInterruptTestBase {
|
| isolate_, ShouldContinueCallback, v8::External::New(isolate_, this));
|
| env_->Global()->Set(v8_str("ShouldContinue"), func);
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
|
| CompileRun("while (ShouldContinue()) { }");
|
| }
|
|
|
| @@ -21607,6 +21614,7 @@ TEST(TurboAsmDisablesNeuter) {
|
| "Module(this, {}, buffer).load();"
|
| "buffer";
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): test requires eager TF.
|
| v8::Local<v8::ArrayBuffer> result = CompileRun(load).As<v8::ArrayBuffer>();
|
| CHECK_EQ(should_be_neuterable, result->IsNeuterable());
|
|
|
| @@ -21621,6 +21629,7 @@ TEST(TurboAsmDisablesNeuter) {
|
| "Module(this, {}, buffer).store();"
|
| "buffer";
|
|
|
| + i::FLAG_turbo_osr = false; // TODO(titzer): test requires eager TF.
|
| result = CompileRun(store).As<v8::ArrayBuffer>();
|
| CHECK_EQ(should_be_neuterable, result->IsNeuterable());
|
| }
|
|
|