v8/test/mjsunit/regress/regress-crbug-1347721.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
407 B
JavaScript
Raw Normal View History

// Copyright 2022 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --harmony-rab-gsab
for (let i = 0; i < 1000; i++) {
const rab = new ArrayBuffer(1632, {"maxByteLength": 4096});
const ta1 = new Uint32Array(rab);
const ta2 = new Float32Array(rab);
rab.resize(2004);
ta1["set"](ta2);
}