Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 0726b3d68aea560e6603f98980a61070e42d458f..4f35d3324f712579f9d9f42f37169d593a57856b 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8394,6 +8394,12 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CheckIsBootstrapping) { |
} |
+RUNTIME_FUNCTION(MaybeObject*, Runtime_GetRootNan) { |
+ RUNTIME_ASSERT(isolate->bootstrapper()->IsActive()); |
+ return isolate->heap()->nan_value(); |
+} |
+ |
+ |
RUNTIME_FUNCTION(MaybeObject*, Runtime_Call) { |
HandleScope scope(isolate); |
ASSERT(args.length() >= 2); |