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

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: Set optimize_in_parallel to false by default. 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
« no previous file with comments | « test/cctest/test-debug.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-deoptimization.cc
diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc
index c52c5788dbce107e3db13e444bac44af56cd9c1e..20d4f25ad987fab249189d6a027a3ea33e2a2eca 100644
--- a/test/cctest/test-deoptimization.cc
+++ b/test/cctest/test-deoptimization.cc
@@ -361,6 +361,7 @@ TEST(DeoptimizeBinaryOperationADDString) {
// Compile an optimized version of f.
i::FLAG_always_opt = true;
+ i::FLAG_optimize_in_parallel = false;
CompileRun(f_source);
CompileRun("f('a+', new X());");
CHECK(!i::V8::UseCrankshaft() ||
@@ -413,6 +414,8 @@ static void TestDeoptimizeBinaryOpHelper(LocalContext* env,
// Compile an optimized version of f.
i::FLAG_always_opt = true;
+ // Be deterministic.
+ i::FLAG_optimize_in_parallel = false;
CompileRun(f_source);
CompileRun("f(7, new X());");
CHECK(!i::V8::UseCrankshaft() ||
@@ -511,6 +514,9 @@ TEST(DeoptimizeCompare) {
// Compile an optimized version of f.
i::FLAG_always_opt = true;
+ // Be deterministic.
+ i::FLAG_optimize_in_parallel = false;
+
CompileRun(f_source);
CompileRun("f('a', new X());");
CHECK(!i::V8::UseCrankshaft() ||
@@ -575,6 +581,8 @@ TEST(DeoptimizeLoadICStoreIC) {
// Compile an optimized version of the functions.
i::FLAG_always_opt = true;
+ // Be deterministic.
+ i::FLAG_optimize_in_parallel = false;
CompileRun(f1_source);
CompileRun(g1_source);
CompileRun(f2_source);
@@ -659,6 +667,9 @@ TEST(DeoptimizeLoadICStoreICNested) {
// Compile an optimized version of the functions.
i::FLAG_always_opt = true;
+ // Be deterministic.
+ i::FLAG_optimize_in_parallel = false;
+
CompileRun(f1_source);
CompileRun(g1_source);
CompileRun(f2_source);
« no previous file with comments | « 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