Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 6b605e5841ebff66b737c36a11bac03b631a183e..d84a83349c5adcaca4dfa21413f13e5adf3dcfc4 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9198,7 +9198,10 @@ void JSFunction::MarkForLazyRecompilation() { |
void JSFunction::MarkForParallelRecompilation() { |
ASSERT(is_compiled() && !IsOptimized()); |
ASSERT(shared()->allows_lazy_compilation() || code()->optimizable()); |
- ASSERT(FLAG_parallel_recompilation); |
+ if (!FLAG_parallel_recompilation) { |
+ JSFunction::MarkForLazyRecompilation(); |
+ return; |
+ } |
if (FLAG_trace_parallel_recompilation) { |
PrintF(" ** Marking "); |
PrintName(); |