Index: src/array.js |
diff --git a/src/array.js b/src/array.js |
index 7e7ad2f88758e632c74e085009a6b888105e291b..d4b1583a4d654f61a7c4ea093fe5fe5e0d1405e1 100644 |
--- a/src/array.js |
+++ b/src/array.js |
@@ -15,7 +15,6 @@ var Delete; |
var GlobalArray = global.Array; |
var InternalArray = utils.InternalArray; |
var InternalPackedArray = utils.InternalPackedArray; |
-var MathMin; |
var ObjectHasOwnProperty; |
var ObjectIsFrozen; |
var ObjectIsSealed; |
@@ -24,7 +23,6 @@ var unscopablesSymbol = utils.ImportNow("unscopables_symbol"); |
utils.Import(function(from) { |
Delete = from.Delete; |
- MathMin = from.MathMin; |
ObjectHasOwnProperty = from.ObjectHasOwnProperty; |
ObjectIsFrozen = from.ObjectIsFrozen; |
ObjectIsSealed = from.ObjectIsSealed; |
@@ -264,7 +262,7 @@ function SparseMove(array, start_i, del_count, len, num_additional_args) { |
// Move data to new array. |
var new_array = new InternalArray( |
// Clamp array length to 2^32-1 to avoid early RangeError. |
- MathMin(len - del_count + num_additional_args, 0xffffffff)); |
+ MIN_SIMPLE(len - del_count + num_additional_args, 0xffffffff)); |
var big_indices; |
var indices = %GetArrayKeys(array, len); |
if (IS_NUMBER(indices)) { |