Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: test/cctest/test-deoptimization.cc

Issue 10417010: Run Crankshaft on a separate thread. (Closed) Base URL: https://chromiumcodereview.appspot.com/10387157
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« src/v8.cc ('K') | « test/cctest/test-debug.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698