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 = 0x2 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, 0x2 23 sta v1 24 throw.undefinedifholewithname c 25 lda v1 26 add2 0x0, v0 27 sta v0 28 ldai 0x3 29 add2 0x1, v0 30 return 31label_2: 32} 33 34slotNum = 0x1 35.language ECMAScript 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 returnundefined 48label_2: 49} 50 51 52