| Index: test/cctest/test-deoptimization.cc
|
| diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc
|
| index c52c5788dbce107e3db13e444bac44af56cd9c1e..50efa3aba9e46ee5ebe494867b59d71c9fc8c145 100644
|
| --- a/test/cctest/test-deoptimization.cc
|
| +++ b/test/cctest/test-deoptimization.cc
|
| @@ -413,6 +413,8 @@ static void TestDeoptimizeBinaryOpHelper(LocalContext* env,
|
|
|
| // Compile an optimized version of f.
|
| i::FLAG_always_opt = true;
|
| + // Be deterministic.
|
| + i::FLAG_concurrent_crankshaft = false;
|
| CompileRun(f_source);
|
| CompileRun("f(7, new X());");
|
| CHECK(!i::V8::UseCrankshaft() ||
|
| @@ -511,6 +513,9 @@ TEST(DeoptimizeCompare) {
|
|
|
| // Compile an optimized version of f.
|
| i::FLAG_always_opt = true;
|
| + // Be deterministic.
|
| + i::FLAG_concurrent_crankshaft = false;
|
| +
|
| CompileRun(f_source);
|
| CompileRun("f('a', new X());");
|
| CHECK(!i::V8::UseCrankshaft() ||
|
| @@ -575,6 +580,8 @@ TEST(DeoptimizeLoadICStoreIC) {
|
|
|
| // Compile an optimized version of the functions.
|
| i::FLAG_always_opt = true;
|
| + // Be deterministic.
|
| + i::FLAG_concurrent_crankshaft = false;
|
| CompileRun(f1_source);
|
| CompileRun(g1_source);
|
| CompileRun(f2_source);
|
| @@ -659,6 +666,9 @@ TEST(DeoptimizeLoadICStoreICNested) {
|
|
|
| // Compile an optimized version of the functions.
|
| i::FLAG_always_opt = true;
|
| + // Be deterministic.
|
| + i::FLAG_concurrent_crankshaft = false;
|
| +
|
| CompileRun(f1_source);
|
| CompileRun(g1_source);
|
| CompileRun(f2_source);
|
|
|