Index: src/builtins/builtins-number.cc |
diff --git a/src/builtins/builtins-number.cc b/src/builtins/builtins-number.cc |
index 346bafa1aebee80fd219fd4c284377dd83a67929..25a1bad240137fbd50fc8b54cd94d76db9c58eb5 100644 |
--- a/src/builtins/builtins-number.cc |
+++ b/src/builtins/builtins-number.cc |
@@ -29,8 +29,7 @@ |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, NewTypeError(MessageTemplate::kNotGeneric, |
isolate->factory()->NewStringFromAsciiChecked( |
- "Number.prototype.toExponential"), |
- isolate->factory()->Number_string())); |
+ "Number.prototype.toExponential"))); |
} |
double const value_number = value->Number(); |
@@ -73,8 +72,7 @@ |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, NewTypeError(MessageTemplate::kNotGeneric, |
isolate->factory()->NewStringFromAsciiChecked( |
- "Number.prototype.toFixed"), |
- isolate->factory()->Number_string())); |
+ "Number.prototype.toFixed"))); |
} |
double const value_number = value->Number(); |
@@ -116,8 +114,7 @@ |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, NewTypeError(MessageTemplate::kNotGeneric, |
isolate->factory()->NewStringFromAsciiChecked( |
- "Number.prototype.toLocaleString"), |
- isolate->factory()->Number_string())); |
+ "Number.prototype.toLocaleString"))); |
} |
// Turn the {value} into a String. |
@@ -138,8 +135,7 @@ |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, NewTypeError(MessageTemplate::kNotGeneric, |
isolate->factory()->NewStringFromAsciiChecked( |
- "Number.prototype.toPrecision"), |
- isolate->factory()->Number_string())); |
+ "Number.prototype.toPrecision"))); |
} |
double const value_number = value->Number(); |
@@ -183,8 +179,7 @@ |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, NewTypeError(MessageTemplate::kNotGeneric, |
isolate->factory()->NewStringFromAsciiChecked( |
- "Number.prototype.toString"), |
- isolate->factory()->Number_string())); |
+ "Number.prototype.toString"))); |
} |
double const value_number = value->Number(); |