jit runtime small refactorings

This commit is contained in:
Ivan 2018-01-14 15:59:05 +03:00 committed by Ivan Butygin
parent 1d5c6860dc
commit 07b7abefa4
3 changed files with 59 additions and 45 deletions

View file

@ -19,9 +19,9 @@ struct Context;
extern "C" {
// Silence missing-variable-declaration clang warning
extern void *dynamiccompile_modules_head;
extern const void *dynamiccompile_modules_head;
void *dynamiccompile_modules_head = nullptr;
const void *dynamiccompile_modules_head = nullptr;
#ifdef _WIN32
__declspec(dllimport)
#endif