change StubModule to public api

Change-Id: I869bc1fc9b71afc6c99825580017e60272d0c493
Signed-off-by: getingke <getingke@huawei.com>
This commit is contained in:
getingke 2021-09-13 15:18:13 +08:00
parent 13e4e9f5a8
commit 57a7a5071a
2 changed files with 4 additions and 2 deletions

View File

@ -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" ]

View File

@ -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)
{