Index: src/typedarray.js |
diff --git a/src/typedarray.js b/src/typedarray.js |
index b45d304514e81c3c2052596d36769d548808772a..48848b1513ee99a19a214470c1f1ae78843cff91 100644 |
--- a/src/typedarray.js |
+++ b/src/typedarray.js |
@@ -37,12 +37,6 @@ endmacro |
TYPED_ARRAYS(DECLARE_GLOBALS) |
-var ToNumber; |
- |
-utils.Import(function(from) { |
- ToNumber = from.ToNumber; |
-}); |
- |
var InternalArray = utils.InternalArray; |
// --------------- Typed Arrays --------------------- |
@@ -463,7 +457,7 @@ function DataViewSetTYPENAMEJS(offset, value, little_endian) { |
} |
if (%_ArgumentsLength() < 2) throw MakeTypeError(kInvalidArgument); |
offset = $toPositiveInteger(offset, kInvalidDataViewAccessorOffset); |
- %DataViewSetTYPENAME(this, offset, TO_NUMBER_INLINE(value), !!little_endian); |
+ %DataViewSetTYPENAME(this, offset, TO_NUMBER(value), !!little_endian); |
} |
endmacro |