1# Copyright (c) 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14.language ECMAScript
15
16slotNum = 0x0
17.function any .#*#A(any a0, any a1, any a2) {
18	mov v0, a0
19	mov v1, a1
20	mov v2, a2
21	ldai 0x64
22	sta v4
23	ldlexvar 0x0, 0x0
24	throw.undefinedifholewithname b
25	lda v4
26	sta v4
27	lda v4
28	stlexvar 0x0, 0x0
29	debugger
30	ldai 0xc8
31	sta v4
32	ldlexvar 0x0, 0x0
33	throw.undefinedifholewithname b
34	lda v4
35	sta v4
36	lda v4
37	stlexvar 0x0, 0x0
38	ldundefined
39	returnundefined
40}
41
42slotNum = 0x1
43.function any .func_main_0(any a0, any a1, any a2) {
44	newlexenvwithname 0x1, _2
45	mov v0, a0
46	mov v1, a1
47	mov v2, a2
48	definefunc 0x0, .#*#A, 0x0
49	sta v3
50	ldai 0x0
51	sta v5
52	lda v5
53	stlexvar 0x0, 0x0
54	debugger
55	ldundefined
56	returnundefined
57}
58
59
60