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 16.function any .#16327008318272898567#(any a0, any a1, any a2) { 17label_1: 18label_0: 19 tryldglobalbyname 0x0, print 20 sta v0 21 lda.str anonymous: 2 22 sta v1 23 lda v0 24 callarg1 0x1, v1 25 ldundefined 26 returnundefined 27label_2: 28} 29 30.function any .#7595881967332036965#(any a0, any a1, any a2) { 31label_1: 32label_0: 33 tryldglobalbyname 0x0, print 34 sta v0 35 lda.str anonymous: 4 36 sta v1 37 lda v0 38 callarg1 0x1, v1 39 ldundefined 40 returnundefined 41label_2: 42} 43 44.function any .A(any a0, any a1, any a2) { 45label_1: 46label_0: 47 newlexenv 0x2 48 lda a1 49 stlexvar 0x0, 0x0 50 lda a2 51 stlexvar 0x0, 0x1 52 tryldglobalbyname 0x0, print 53 sta v0 54 lda.str A2 55 sta v1 56 lda v0 57 callarg1 0x1, v1 58 definefunc 0x3, .#16327008318272898567#, 0x0 59 callarg0 0x4 60 definefunc 0x6, .#7595881967332036965#, 0x0 61 callarg0 0x7 62 ldundefined 63 returnundefined 64label_2: 65} 66 67.function any .func_main_0(any a0, any a1, any a2) { 68 mov v0, a0 69 mov v1, a1 70 mov v2, a2 71 definefunc 0x0, .A, 0x0 72 sta v3 73 ldundefined 74 returnundefined 75} 76 77.function any .patch_main_0(any a0, any a1, any a2) { 78label_1: 79label_0: 80 returnundefined 81label_2: 82} 83 84.function any .patch_main_1(any a0, any a1, any a2) { 85label_1: 86label_0: 87 definefunc 0x3, .#16327008318272898567#, 0x0 88 definefunc 0x6, .#7595881967332036965#, 0x0 89 definefunc 0x0, .A, 0x0 90 returnundefined 91label_2: 92} 93 94 95