Index: test/mjsunit/runtime-gen/dataviewgetbuffer.js |
diff --git a/test/mjsunit/runtime-gen/arraybufferneuter.js b/test/mjsunit/runtime-gen/dataviewgetbuffer.js |
similarity index 69% |
copy from test/mjsunit/runtime-gen/arraybufferneuter.js |
copy to test/mjsunit/runtime-gen/dataviewgetbuffer.js |
index f239edfeea40da87c6a8b081c3c72549958b99fa..b4dc2251d2a39ca417c4325cc074ae8f715996c0 100644 |
--- a/test/mjsunit/runtime-gen/arraybufferneuter.js |
+++ b/test/mjsunit/runtime-gen/dataviewgetbuffer.js |
@@ -1,5 +1,5 @@ |
// 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 _array_buffer = new ArrayBuffer(8); |
-%ArrayBufferNeuter(_array_buffer); |
+var _holder = new DataView(new ArrayBuffer(24)); |
+%DataViewGetBuffer(_holder); |