Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 4aa62063209940111756241a8f644090c315177d..fcdd1b4a830349c0c2f39fb181a2399a793bdf0d 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1308,17 +1308,13 @@ Handle<Object> Factory::NewNumberFromUint(uint32_t value, |
return NewHeapNumber(FastUI2D(value), IMMUTABLE, pretenure); |
} |
- |
-Handle<HeapNumber> Factory::NewHeapNumber(double value, |
- MutableMode mode, |
+Handle<HeapNumber> Factory::NewHeapNumber(MutableMode mode, |
PretenureFlag pretenure) { |
- CALL_HEAP_FUNCTION( |
- isolate(), |
- isolate()->heap()->AllocateHeapNumber(value, mode, pretenure), |
- HeapNumber); |
+ CALL_HEAP_FUNCTION(isolate(), |
+ isolate()->heap()->AllocateHeapNumber(mode, pretenure), |
+ HeapNumber); |
} |
- |
#define SIMD128_NEW_DEF(TYPE, Type, type, lane_count, lane_type) \ |
Handle<Type> Factory::New##Type(lane_type lanes[lane_count], \ |
PretenureFlag pretenure) { \ |