| Index: src/runtime/runtime-numbers.cc
|
| diff --git a/src/runtime/runtime-numbers.cc b/src/runtime/runtime-numbers.cc
|
| index 46fbff3463753074dd8c9037a353b5a9be956bae..efbdeb2f33b74b3f3bf78bd6ab49160571382140 100644
|
| --- a/src/runtime/runtime-numbers.cc
|
| +++ b/src/runtime/runtime-numbers.cc
|
| @@ -208,19 +208,6 @@ RUNTIME_FUNCTION(Runtime_NumberToSmi) {
|
| }
|
|
|
|
|
| -RUNTIME_FUNCTION(Runtime_NumberImul) {
|
| - HandleScope scope(isolate);
|
| - DCHECK(args.length() == 2);
|
| -
|
| - // We rely on implementation-defined behavior below, but at least not on
|
| - // undefined behavior.
|
| - CONVERT_NUMBER_CHECKED(uint32_t, x, Int32, args[0]);
|
| - CONVERT_NUMBER_CHECKED(uint32_t, y, Int32, args[1]);
|
| - int32_t product = static_cast<int32_t>(x * y);
|
| - return *isolate->factory()->NewNumberFromInt(product);
|
| -}
|
| -
|
| -
|
| // Compare two Smis as if they were converted to strings and then
|
| // compared lexicographically.
|
| RUNTIME_FUNCTION(Runtime_SmiLexicographicCompare) {
|
|
|