Index: test/mjsunit/runtime-gen/dataviewsetuint16.js |
diff --git a/test/mjsunit/runtime-gen/numbertoradixstring.js b/test/mjsunit/runtime-gen/dataviewsetuint16.js |
similarity index 54% |
copy from test/mjsunit/runtime-gen/numbertoradixstring.js |
copy to test/mjsunit/runtime-gen/dataviewsetuint16.js |
index 6a90cd904c40f5e59f3170ef471f6c2a8e840760..fc2800c07e17d2269490ba1d1879750c21fef853 100644 |
--- a/test/mjsunit/runtime-gen/numbertoradixstring.js |
+++ b/test/mjsunit/runtime-gen/dataviewsetuint16.js |
@@ -1,6 +1,8 @@ |
// Copyright 2014 the V8 project authors. All rights reserved. |
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY |
// Flags: --allow-natives-syntax --harmony |
+var _holder = new DataView(new ArrayBuffer(24)); |
+var _offset = 1.5; |
var _value = 1.5; |
-var arg1 = 2; |
-%NumberToRadixString(_value, arg1); |
+var _is_little_endian = true; |
+%DataViewSetUint16(_holder, _offset, _value, _is_little_endian); |