Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e90461256661859610d1e130b7882c7202b00f83..2ecc57b5de96c83ab19bce37a8bdf012a94f7c91 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9234,7 +9234,10 @@ void JSFunction::MarkForParallelRecompilation() { |
ASSERT(is_compiled() || GetIsolate()->DebuggerHasBreakPoints()); |
ASSERT(!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(); |