Index: test/cctest/test-deoptimization.cc |
diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc |
index dfc27548b5ab47068987de21f4b2f8d6e1afe24f..c164193ee5706e3bfee417fd63d0d5e4800a9ab6 100644 |
--- a/test/cctest/test-deoptimization.cc |
+++ b/test/cctest/test-deoptimization.cc |
@@ -77,23 +77,27 @@ class AlwaysOptimizeAllowNativesSyntaxNoInlining { |
// Utility class to set --allow-natives-syntax and --nouse-inlining when |
// constructed and return to their default state when destroyed. |
-class AllowNativesSyntaxNoInlining { |
+class AllowNativesSyntaxNoInliningNoParallel { |
public: |
- AllowNativesSyntaxNoInlining() |
+ AllowNativesSyntaxNoInliningNoParallel() |
: allow_natives_syntax_(i::FLAG_allow_natives_syntax), |
- use_inlining_(i::FLAG_use_inlining) { |
+ use_inlining_(i::FLAG_use_inlining), |
+ parallel_recompilation_(i::FLAG_parallel_recompilation) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_use_inlining = false; |
+ i::FLAG_parallel_recompilation = false; |
} |
- ~AllowNativesSyntaxNoInlining() { |
+ ~AllowNativesSyntaxNoInliningNoParallel() { |
i::FLAG_allow_natives_syntax = allow_natives_syntax_; |
i::FLAG_use_inlining = use_inlining_; |
+ i::FLAG_parallel_recompilation = parallel_recompilation_; |
} |
private: |
bool allow_natives_syntax_; |
bool use_inlining_; |
+ bool parallel_recompilation_; |
}; |
@@ -343,7 +347,7 @@ TEST(DeoptimizeBinaryOperationADDString) { |
const char* f_source = "function f(x, y) { return x + y; };"; |
{ |
- AllowNativesSyntaxNoInlining options; |
+ AllowNativesSyntaxNoInliningNoParallel options; |
// Compile function f and collect to type feedback to insert binary op stub |
// call in the optimized code. |
i::FLAG_prepare_always_opt = true; |
@@ -401,7 +405,7 @@ static void TestDeoptimizeBinaryOpHelper(LocalContext* env, |
binary_op); |
char* f_source = f_source_buffer.start(); |
- AllowNativesSyntaxNoInlining options; |
+ AllowNativesSyntaxNoInliningNoParallel options; |
// Compile function f and collect to type feedback to insert binary op stub |
// call in the optimized code. |
i::FLAG_prepare_always_opt = true; |
@@ -493,7 +497,7 @@ TEST(DeoptimizeCompare) { |
const char* f_source = "function f(x, y) { return x < y; };"; |
{ |
- AllowNativesSyntaxNoInlining options; |
+ AllowNativesSyntaxNoInliningNoParallel options; |
// Compile function f and collect to type feedback to insert compare ic |
// call in the optimized code. |
i::FLAG_prepare_always_opt = true; |
@@ -540,7 +544,7 @@ TEST(DeoptimizeLoadICStoreIC) { |
const char* g2_source = "function g2(x, y) { x[y] = 1; };"; |
{ |
- AllowNativesSyntaxNoInlining options; |
+ AllowNativesSyntaxNoInliningNoParallel options; |
// Compile functions and collect to type feedback to insert ic |
// calls in the optimized code. |
i::FLAG_prepare_always_opt = true; |
@@ -620,7 +624,7 @@ TEST(DeoptimizeLoadICStoreICNested) { |
const char* g2_source = "function g2(x, y) { x[y] = 1; };"; |
{ |
- AllowNativesSyntaxNoInlining options; |
+ AllowNativesSyntaxNoInliningNoParallel options; |
// Compile functions and collect to type feedback to insert ic |
// calls in the optimized code. |
i::FLAG_prepare_always_opt = true; |