• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16const v12 = new Float32Array(1024);
17const v21 = Array(v12.byteLength);
18Int8Array.g = v21;
19for (let v23 = 0; v23 < 5; v23++) {
20    async function* f26(a27, a28) {
21        const v30 = Int8Array.g;
22        function f31(a32, a33) {
23            for (let v36 = 0; v36 < 5; v36++) {
24                class C38 {
25                    constructor() {
26                        g = Math;
27                    }
28                }
29                new C38(C38);
30                new C38();
31                for (let i87 = 0, i88 = v36;
32                    (() => {
33                        return i87 < i88;
34                    })();
35                    ) {
36                        // Compare the values of i87 and i88 to control the loop
37                }
38            }
39        }
40        v30[Symbol.hasInstance] = f31;
41        -536870912n instanceof v30;
42    }
43    const v104 = f26();
44    v104.constructor = Float32Array;
45    v104.next();
46}
47print(1)