Index: test/mjsunit/runtime-gen/dataviewgetuint32.js |
diff --git a/test/mjsunit/runtime-gen/arraybufferisview.js b/test/mjsunit/runtime-gen/dataviewgetuint32.js |
similarity index 52% |
copy from test/mjsunit/runtime-gen/arraybufferisview.js |
copy to test/mjsunit/runtime-gen/dataviewgetuint32.js |
index def6b3be00071af822eb9ae4f220ee828d261183..af5122d2877721362e74fc3b51fa38d341a6a15b 100644 |
--- a/test/mjsunit/runtime-gen/arraybufferisview.js |
+++ b/test/mjsunit/runtime-gen/dataviewgetuint32.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; |
+%DataViewGetUint32(_holder, _offset, _is_little_endian); |