mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 16:13:49 +00:00
11ddfd964e
1. x86 assembler replaces JSCall, JSCallArgV, JSFunctionEntry, OptimizedCallOptimized, CallNativeTrampoline assembly code of x86 call.S debugged and enabled to the official code. 2. Delete the relevant code in call.S. issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57UHX Signed-off-by: wanyanglan <wanyanglan1@huawei.com> Change-Id: I69b9aad1f52d486ba6d96248aa1a5a2d0a44f318
32 lines
1.2 KiB
C++
32 lines
1.2 KiB
C++
/*
|
|
* Copyright (c) 2021 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.
|
|
*/
|
|
|
|
#ifndef ECMASCRIPT_TEST_RUNTIME_STUBS_H
|
|
#define ECMASCRIPT_TEST_RUNTIME_STUBS_H
|
|
namespace panda::ecmascript {
|
|
#ifndef NDEBUG
|
|
#define TEST_RUNTIME_STUB_GC_LIST(V) \
|
|
V(DefineAotFunc) \
|
|
V(GetPrintFunc) \
|
|
V(GetBindFunc) \
|
|
V(DefineProxyFunc) \
|
|
V(DefineProxyFunc2) \
|
|
V(DefineProxyHandler) \
|
|
V(DumpTaggedType)
|
|
#else
|
|
#define TEST_RUNTIME_STUB_GC_LIST(V)
|
|
#endif
|
|
} // namespace panda::ecmascript
|
|
#endif |