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