some jit code cleaup and clang-format

This commit is contained in:
Ivan 2018-07-03 21:17:21 +03:00
parent 80528f80ef
commit 98ed035af7
5 changed files with 22 additions and 22 deletions

View file

@ -290,14 +290,8 @@ void rtCompileProcessImplSoInternal(const RtCompileModuleList *modlist_head,
} // anon namespace
extern "C" {
#ifdef _WIN32
__declspec(dllexport)
#else
__attribute__ ((visibility ("default")))
#endif
void JIT_API_ENTRYPOINT(const void *modlist_head, const Context *context,
size_t contextSize) {
EXTERNAL void JIT_API_ENTRYPOINT(const void *modlist_head,
const Context *context, size_t contextSize) {
assert(nullptr != context);
assert(sizeof(*context) == contextSize);
rtCompileProcessImplSoInternal(