arkcompiler_ets_runtime/ecmascript/stubs/test_runtime_stubs.h
wanyanglan 11ddfd964e Enable x86 Assembler
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
2022-05-18 09:42:00 +08:00

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