v8/test/mjsunit/runtime-gen/dataviewinitialize.js

9 lines
372 B
JavaScript

// 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(8));
var _buffer = new ArrayBuffer(8);
var _byte_offset = 1.5;
var _byte_length = 1.5;
%_DataViewInitialize(_holder, _buffer, _byte_offset, _byte_length);