Index: src/runtime/runtime-numbers.cc |
diff --git a/src/runtime/runtime-numbers.cc b/src/runtime/runtime-numbers.cc |
index f976df951c119a3fba5f63fe33c33ad8574c1124..f8f5ddb475d9a3d42ba8cac305a5159067f816e7 100644 |
--- a/src/runtime/runtime-numbers.cc |
+++ b/src/runtime/runtime-numbers.cc |
@@ -316,5 +316,20 @@ RUNTIME_FUNCTION(Runtime_GetRootNaN) { |
return isolate->heap()->nan_value(); |
} |
+ |
+RUNTIME_FUNCTION(Runtime_GetHoleNaNUpper) { |
+ HandleScope scope(isolate); |
+ DCHECK(args.length() == 0); |
+ return *isolate->factory()->NewNumberFromUint(kHoleNanUpper32); |
+} |
+ |
+ |
+RUNTIME_FUNCTION(Runtime_GetHoleNaNLower) { |
+ HandleScope scope(isolate); |
+ DCHECK(args.length() == 0); |
+ return *isolate->factory()->NewNumberFromUint(kHoleNanLower32); |
+} |
+ |
+ |
} // namespace internal |
} // namespace v8 |