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 14slotNum = 0x4 15.language ECMAScript 16.function any .A(any a0, any a1, any a2) { 17label_1: 18label_0: 19 ldlexvar 0x0, 0x0 20 sta v0 21 throw.undefinedifholewithname a 22 ldlexvar 0x0, 0x1 23 sta v1 24 throw.undefinedifholewithname b 25 lda v1 26 add2 0x0, v0 27 sta v0 28 wide.ldpatchvar 0x0 29 sta v1 30 throw.undefinedifholewithname c 31 lda v1 32 add2 0x1, v0 33 sta v0 34 ldai 0x3 35 add2 0x2, v0 36 sta v0 37 wide.ldpatchvar 0x1 38 sta v1 39 throw.undefinedifholewithname n 40 lda v1 41 add2 0x3, v0 42 return 43label_2: 44} 45 46slotNum = 0x1 47.language ECMAScript 48.function any .func_main_0(any a0, any a1, any a2) { 49label_1: 50label_0: 51 newlexenv 0x2 52 definefunc 0x0, .A, 0x0 53 ldai 0x1 54 sta v0 55 lda v0 56 stlexvar 0x0, 0x0 57 lda v0 58 stlexvar 0x0, 0x1 59 lda v0 60 wide.stpatchvar 0x0 61 ldai 0x2 62 wide.stpatchvar 0x1 63 returnundefined 64label_2: 65} 66 67 68