This commit is contained in:
Ivan 2017-11-09 22:05:25 +03:00
parent c839e9dfd0
commit 1c1b645ebd
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@
namespace { namespace {
const char *RuntimeCompileModulesHeadName = "runtimecompile_modules_head"; const char *RuntimeCompileModulesHeadName = "dynamiccompile_modules_head";
llvm::GlobalValue *getPredefinedSymbol(llvm::Module &module, llvm::GlobalValue *getPredefinedSymbol(llvm::Module &module,
llvm::StringRef name, llvm::Type *type) { llvm::StringRef name, llvm::Type *type) {

View file

@ -19,9 +19,9 @@ struct Context;
extern "C" { extern "C" {
// Silence missing-variable-declaration clang warning // Silence missing-variable-declaration clang warning
extern void *runtimecompile_modules_head; extern void *dynamiccompile_modules_head;
void *runtimecompile_modules_head = nullptr; void *dynamiccompile_modules_head = nullptr;
#ifdef _WIN32 #ifdef _WIN32
__declspec(dllimport) __declspec(dllimport)
#endif #endif
@ -30,6 +30,6 @@ __declspec(dllimport)
std::size_t contextSize); std::size_t contextSize);
void rtCompileProcessImpl(const Context *context, std::size_t contextSize) { void rtCompileProcessImpl(const Context *context, std::size_t contextSize) {
rtCompileProcessImplSo(runtimecompile_modules_head, context, contextSize); rtCompileProcessImplSo(dynamiccompile_modules_head, context, contextSize);
} }
} }