Index: test/mjsunit/runtime-gen/dataviewgetint16.js |
diff --git a/test/mjsunit/runtime-gen/arraybufferisview.js b/test/mjsunit/runtime-gen/dataviewgetint16.js |
similarity index 53% |
copy from test/mjsunit/runtime-gen/arraybufferisview.js |
copy to test/mjsunit/runtime-gen/dataviewgetint16.js |
index def6b3be00071af822eb9ae4f220ee828d261183..e418ed2bbaaf1551109366c419cd25369cde7046 100644 |
--- a/test/mjsunit/runtime-gen/arraybufferisview.js |
+++ b/test/mjsunit/runtime-gen/dataviewgetint16.js |
@@ -1,5 +1,7 @@ |
// 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 _object = new Object(); |
-%ArrayBufferIsView(_object); |
+var _holder = new DataView(new ArrayBuffer(24)); |
+var _offset = 1.5; |
+var _is_little_endian = true; |
+%DataViewGetInt16(_holder, _offset, _is_little_endian); |