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