Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index b7073e748949cf22f3ae8df59a31c4177775cbed..314b162b7f6859431d27b6e361999c35ef8357d2 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -322,9 +322,10 @@ TEST(FeedbackVectorPreservedAcrossRecompiles) { |
// of the full code. |
CHECK(f->IsOptimized()); |
// If the baseline code is bytecode, then it will not have deoptimization |
- // support. has_deoptimization_support() check is only required if the |
+ // support. The has_deoptimization_support() check is only required if the |
// baseline code is from fullcodegen. |
- CHECK(f->shared()->has_deoptimization_support() || i::FLAG_ignition); |
+ CHECK(f->shared()->has_deoptimization_support() || i::FLAG_ignition || |
+ i::FLAG_turbo); |
object = f->feedback_vector()->Get(slot_for_a); |
CHECK(object->IsWeakCell() && |
WeakCell::cast(object)->value()->IsJSFunction()); |