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 = 0x0 15.language ECMAScript 16.function any .#*#A(any a0, any a1, any a2) { 17 mov v0, a0 18 mov v1, a1 19 mov v2, a2 20 ldai 0x64 21 sta v4 22 ldlexvar 0x0, 0x0 23 throw.undefinedifholewithname b 24 lda v4 25 sta v4 26 lda v4 27 stlexvar 0x0, 0x0 28 debugger 29 ldai 0xc8 30 sta v4 31 ldlexvar 0x0, 0x0 32 throw.undefinedifholewithname b 33 lda v4 34 sta v4 35 lda v4 36 stlexvar 0x0, 0x0 37 ldundefined 38 returnundefined 39} 40 41slotNum = 0x1 42.language ECMAScript 43.function any .func_main_0(any a0, any a1, any a2) { 44 newlexenvwithname 0x1, _2 45 mov v0, a0 46 mov v1, a1 47 mov v2, a2 48 definefunc 0x0, .#*#A, 0x0 49 sta v3 50 ldai 0x0 51 sta v5 52 lda v5 53 stlexvar 0x0, 0x0 54 debugger 55 ldundefined 56 returnundefined 57} 58 59 60