mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
change StubModule to public api
Change-Id: I869bc1fc9b71afc6c99825580017e60272d0c493 Signed-off-by: getingke <getingke@huawei.com>
This commit is contained in:
parent
13e4e9f5a8
commit
57a7a5071a
2
BUILD.gn
2
BUILD.gn
@ -385,7 +385,7 @@ ohos_static_library("libark_jsruntime_static") {
|
||||
]
|
||||
|
||||
if (is_standard_system) {
|
||||
# cflags_cc = [ "-fvisibility=hidden" ]
|
||||
cflags_cc = [ "-fvisibility=hidden" ]
|
||||
deps += [ "$ark_root/runtime:libarkruntime_static" ]
|
||||
} else {
|
||||
deps += [ "$ark_root/runtime:libarkruntime" ]
|
||||
|
@ -16,12 +16,14 @@
|
||||
#ifndef ECMASCRIPT_STUB_MODULE_H
|
||||
#define ECMASCRIPT_STUB_MODULE_H
|
||||
|
||||
#include "ecmascript/common.h"
|
||||
#include "ecmascript/js_thread.h"
|
||||
#include "ecmascript/mem/machine_code.h"
|
||||
#include "libpandabase/macros.h"
|
||||
|
||||
namespace panda::ecmascript {
|
||||
using Address = uintptr_t;
|
||||
class StubModule {
|
||||
class PUBLIC_API StubModule {
|
||||
public:
|
||||
Address GetStubEntry(int index)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user