mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-10 12:59:21 +03:00
Rename
This commit is contained in:
parent
c839e9dfd0
commit
1c1b645ebd
2 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue