# Copyright (c) 2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. .language ECMAScript slotNum = 0x0 .function any .#*#A(any a0, any a1, any a2) { mov v0, a0 mov v1, a1 mov v2, a2 ldai 0x64 sta v4 ldlexvar 0x0, 0x0 throw.undefinedifholewithname b lda v4 sta v4 lda v4 stlexvar 0x0, 0x0 debugger ldai 0xc8 sta v4 ldlexvar 0x0, 0x0 throw.undefinedifholewithname b lda v4 sta v4 lda v4 stlexvar 0x0, 0x0 ldundefined returnundefined } slotNum = 0x1 .function any .func_main_0(any a0, any a1, any a2) { newlexenvwithname 0x1, _2 mov v0, a0 mov v1, a1 mov v2, a2 definefunc 0x0, .#*#A, 0x0 sta v3 ldai 0x0 sta v5 lda v5 stlexvar 0x0, 0x0 debugger ldundefined returnundefined }