mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 17:51:35 +00:00

Refs: https://github.com/v8/v8/compare/11.8.172.13...11.8.172.15 PR-URL: https://github.com/nodejs/node/pull/50114 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
26 lines
607 B
JavaScript
26 lines
607 B
JavaScript
// Copyright 2023 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: --allow-natives-syntax --jit-fuzzing
|
|
|
|
const o13 = {
|
|
"maxByteLength": 5368789,
|
|
};
|
|
const v14 = new ArrayBuffer(129, o13);
|
|
const v16 = new Uint16Array(v14);
|
|
|
|
function f3(param) {
|
|
for (let i = 0; i < 5; i++) {
|
|
try {"resize".includes(v14); } catch (e) {}
|
|
v14.resize(3.0, ..."resize", ...v16);
|
|
}
|
|
|
|
let f = function() { return param; }
|
|
}
|
|
|
|
%PrepareFunctionForOptimization(f3);
|
|
f3();
|
|
%OptimizeFunctionOnNextCall(f3);
|
|
f3();
|