Index: src/runtime/runtime-numbers.cc |
diff --git a/src/runtime/runtime-numbers.cc b/src/runtime/runtime-numbers.cc |
index efbdeb2f33b74b3f3bf78bd6ab49160571382140..0317b0ca2f0bc95e2203a8eb24585d5088e18052 100644 |
--- a/src/runtime/runtime-numbers.cc |
+++ b/src/runtime/runtime-numbers.cc |
@@ -174,20 +174,6 @@ RUNTIME_FUNCTION(Runtime_NumberToStringSkipCache) { |
} |
-// TODO(bmeurer): Kill this runtime entry. Uses in date.js are wrong anyway. |
-RUNTIME_FUNCTION(Runtime_NumberToIntegerMapMinusZero) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(Object, input, 0); |
- ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, input, Object::ToNumber(input)); |
- double double_value = DoubleToInteger(input->Number()); |
- // Map both -0 and +0 to +0. |
- if (double_value == 0) double_value = 0; |
- |
- return *isolate->factory()->NewNumber(double_value); |
-} |
- |
- |
// Converts a Number to a Smi, if possible. Returns NaN if the number is not |
// a small integer. |
RUNTIME_FUNCTION(Runtime_NumberToSmi) { |