Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 46bd4ae244bf56062603c3db227d47b5c30592b1..fe71a225b5bb0374a6a8a7ed2186469b6ba6dc8a 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -660,6 +660,14 @@ Handle<Object> Factory::NewNumberFromUint(uint32_t value, |
} |
+Handle<HeapNumber> Factory::NewHeapNumber(double value, |
+ PretenureFlag pretenure) { |
+ CALL_HEAP_FUNCTION( |
+ isolate(), |
+ isolate()->heap()->AllocateHeapNumber(value, pretenure), HeapNumber); |
+} |
+ |
+ |
Handle<JSObject> Factory::NewNeanderObject() { |
CALL_HEAP_FUNCTION( |
isolate(), |