mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
…rees before exiting execution This patch fixes #4870. The implementation is based on PR #4966, only resolved the conflicts and applied requested changes. Co-authored-by: Martin Negyokru negyokru@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
88 lines
2.8 KiB
JavaScript
88 lines
2.8 KiB
JavaScript
// Copyright JS Foundation and other contributors, http://js.foundation
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
async function f() {
|
|
let arr = [0.000000];
|
|
let fuzz_v152 = arr;
|
|
let fuzz_v159 = fuzz_v152.__proto__;
|
|
fuzz_v152.valueOf = function* (fuzz_v166, fuzz_v167) {
|
|
while (arr) {
|
|
}
|
|
var fuzz_v172 = ~f;
|
|
arr >>= [1.100000];
|
|
return fuzz_v167;
|
|
};
|
|
arr.includes(arr, [340282346638528859811704183484516925440.000000], arr);
|
|
delete [10];
|
|
let fuzz_v253 = f.__proto__;
|
|
let fuzz_v256 = {
|
|
"D5FP8": f
|
|
};
|
|
arr["map"](f, new Object(true));
|
|
arr.flat();
|
|
let fuzz_v69 = false;
|
|
await this;
|
|
await f;
|
|
var fuzz_v43 = arr -= new Date(new String({
|
|
"findIndex": arr
|
|
}));
|
|
await this;
|
|
let fuzz_v286 = Symbol.reject();
|
|
await f;
|
|
await new Promise(f);
|
|
await new Promise(async function* (fuzz_v80) {
|
|
var fuzz_v82 = new Uint32Array(fuzz_v80, arr, [1.100000], fuzz_v80, fuzz_v80);
|
|
let fuzz_v96 = fuzz_v82.__proto__;
|
|
this.length = 4;
|
|
});
|
|
await new Promise(async function* (fuzz_v138, fuzz_v139) {
|
|
fuzz_v138.__proto__ = fuzz_v139;
|
|
let fuzz_v147 = function* (fuzz_v149, fuzz_v150, fuzz_v151, fuzz_v152) {
|
|
let fuzz_v165 = Reflect.apply(fuzz_v152, {
|
|
"findIndex": fuzz_v150
|
|
}, [{}]);
|
|
switch ({
|
|
includes: fuzz_v138,
|
|
set valueOf(fuzz_v175) {
|
|
fuzz_v150.valueOf = fuzz_v175;
|
|
return;
|
|
}
|
|
}) {
|
|
case [1.100000]:
|
|
throw arr;
|
|
break;
|
|
case 5643033980980220.000000:
|
|
let fuzz_v203 = String.prototype.trim.call(new String());
|
|
break;
|
|
default:
|
|
fuzz_v43.valueOf = fuzz_v150;
|
|
}
|
|
let fuzz_v214 = fuzz_v69;
|
|
let fuzz_v223 = Number.isInteger(2147483648);
|
|
};
|
|
var fuzz_v228 = f;
|
|
delete f.__proto__;
|
|
let fuzz_v237 = {};
|
|
});
|
|
await new Promise(f);
|
|
await new Promise(async function* (fuzz_v269, fuzz_v270, fuzz_v271) {
|
|
class fuzz_class273 extends f {
|
|
|
|
}
|
|
return arr;
|
|
});
|
|
await new Promise(fuzz_v286);
|
|
}
|
|
f(f, f);
|