Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 77014b1771c054e1ec8da1c400b2c2533dc421b0..be0281b846e7520ab28b581ac18fb078bc4d8de9 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8579,6 +8579,13 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetOptimizationStatus) { |
} |
+RUNTIME_FUNCTION(MaybeObject*, Runtime_UnblockConcurrentRecompilation) { |
+ RUNTIME_ASSERT(FLAG_block_concurrent_recompilation); |
+ isolate->optimizing_compiler_thread()->Unblock(); |
+ return isolate->heap()->undefined_value(); |
+} |
+ |
+ |
RUNTIME_FUNCTION(MaybeObject*, Runtime_GetOptimizationCount) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 1); |