| Index: src/js/runtime.js
|
| diff --git a/src/js/runtime.js b/src/js/runtime.js
|
| index 8e4f2832568138ccb77e903c5f02669413364d34..a6a0b4df91409106c74769998c7e65398f2a18d9 100644
|
| --- a/src/js/runtime.js
|
| +++ b/src/js/runtime.js
|
| @@ -43,19 +43,6 @@ utils.ImportFromExperimental(function(from) {
|
| */
|
|
|
|
|
| -// This function should be called rather than %AddElement in contexts where the
|
| -// argument might not be less than 2**32-1. ES2015 ToLength semantics mean that
|
| -// this is a concern at basically all callsites.
|
| -function AddIndexedProperty(obj, index, value) {
|
| - if (index === TO_UINT32(index) && index !== kMaxUint32) {
|
| - %AddElement(obj, index, value);
|
| - } else {
|
| - %AddNamedProperty(obj, TO_STRING(index), value, NONE);
|
| - }
|
| -}
|
| -%SetForceInlineFlag(AddIndexedProperty);
|
| -
|
| -
|
| function ToPositiveInteger(x, rangeErrorIndex) {
|
| var i = TO_INTEGER_MAP_MINUS_ZERO(x);
|
| if (i < 0) throw MakeRangeError(rangeErrorIndex);
|
| @@ -122,7 +109,6 @@ function SpeciesConstructor(object, defaultConstructor, conservative) {
|
| // Exports
|
|
|
| utils.Export(function(to) {
|
| - to.AddIndexedProperty = AddIndexedProperty;
|
| to.MaxSimple = MaxSimple;
|
| to.MinSimple = MinSimple;
|
| to.ToPositiveInteger = ToPositiveInteger;
|
|
|