Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 8d98f272364b3d261d1b2e6ebc52e60d18f1bbd2..152baddefd42b1a66267eccabe1db543ff762358 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8694,6 +8694,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetOptimizationStatus) { |
RUNTIME_FUNCTION(MaybeObject*, Runtime_UnblockConcurrentRecompilation) { |
RUNTIME_ASSERT(FLAG_block_concurrent_recompilation); |
+ RUNTIME_ASSERT(isolate->concurrent_recompilation_enabled()); |
isolate->optimizing_compiler_thread()->Unblock(); |
return isolate->heap()->undefined_value(); |
} |