Index: src/js/array.js |
diff --git a/src/js/array.js b/src/js/array.js |
index 4b994e272ad47e26bbcf7a6f56f27d50b9b23a9f..8358a68831374360afe45ec1239dc6586b3dd77a 100644 |
--- a/src/js/array.js |
+++ b/src/js/array.js |
@@ -16,7 +16,7 @@ var FLAG_harmony_tolength; |
var GlobalArray = global.Array; |
var InternalArray = utils.InternalArray; |
var InternalPackedArray = utils.InternalPackedArray; |
-var MathMin; |
+var MinSimple; |
var ObjectHasOwnProperty; |
var ObjectIsFrozen; |
var ObjectIsSealed; |
@@ -28,7 +28,7 @@ var unscopablesSymbol = utils.ImportNow("unscopables_symbol"); |
utils.Import(function(from) { |
Delete = from.Delete; |
- MathMin = from.MathMin; |
+ MinSimple = from.MinSimple; |
ObjectHasOwnProperty = from.ObjectHasOwnProperty; |
ObjectIsFrozen = from.ObjectIsFrozen; |
ObjectIsSealed = from.ObjectIsSealed; |
@@ -271,7 +271,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)); |
+ MinSimple(len - del_count + num_additional_args, 0xffffffff)); |
var big_indices; |
var indices = %GetArrayKeys(array, len); |
if (IS_NUMBER(indices)) { |