• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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) {
18label_1:
19label_0:
20	ldlexvar 0x0, 0x0
21	throw.undefinedifholewithname a
22	ldai 0x4
23	stlexvar 0x0, 0x0
24	ldlexvar 0x0, 0x1
25	throw.undefinedifholewithname b
26	ldai 0x2
27	stlexvar 0x0, 0x1
28	ldlexvar 0x0, 0x2
29	throw.undefinedifholewithname c
30	ldai 0x3
31	stlexvar 0x0, 0x2
32	ldundefined
33	returnundefined
34label_2:
35}
36
37slotNum = 0x1
38.function any .func_main_0(any a0, any a1, any a2) {
39label_1:
40label_0:
41	newlexenv 0x3
42	definefunc 0x0, .A, 0x0
43	ldai 0x1
44	sta v0
45	lda v0
46	stlexvar 0x0, 0x0
47	ldai 0x2
48	stlexvar 0x0, 0x1
49	lda v0
50	stlexvar 0x0, 0x2
51	ldundefined
52	returnundefined
53label_2:
54}
55
56
57