mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-08 20:06:03 +03:00
fix typo
This commit is contained in:
parent
0647a58fe1
commit
c7b95a09e5
2 changed files with 7 additions and 7 deletions
|
@ -327,9 +327,9 @@ llvm::StructType *getFuncListElemType(llvm::LLVMContext &context) {
|
||||||
return llvm::StructType::create(context, elements, /*"RtCompileFuncList"*/"", true);
|
return llvm::StructType::create(context, elements, /*"RtCompileFuncList"*/"", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// struct RtComileModuleList
|
// struct RtCompileModuleList
|
||||||
// {
|
// {
|
||||||
// RtComileModuleList* next;
|
// RtCompileModuleList* next;
|
||||||
// i8* irData;
|
// i8* irData;
|
||||||
// i32 irDataSize;
|
// i32 irDataSize;
|
||||||
// RtCompileFuncList* funcList;
|
// RtCompileFuncList* funcList;
|
||||||
|
@ -345,7 +345,7 @@ llvm::StructType *getModuleListElemType(llvm::LLVMContext &context,
|
||||||
assert(nullptr != funcListElemType);
|
assert(nullptr != funcListElemType);
|
||||||
assert(nullptr != symListElemType);
|
assert(nullptr != symListElemType);
|
||||||
assert(nullptr != varListElemType);
|
assert(nullptr != varListElemType);
|
||||||
llvm::StructType* ret = llvm::StructType::create(context/*, "RtComileModuleList"*/); //fwddecl
|
llvm::StructType* ret = llvm::StructType::create(context/*, "RtCompileModuleList"*/); //fwddecl
|
||||||
llvm::Type* elements[] = {
|
llvm::Type* elements[] = {
|
||||||
llvm::PointerType::getUnqual(ret),
|
llvm::PointerType::getUnqual(ret),
|
||||||
llvm::IntegerType::getInt8PtrTy(context),
|
llvm::IntegerType::getInt8PtrTy(context),
|
||||||
|
|
|
@ -56,9 +56,9 @@ struct RtCompileVarList
|
||||||
const void* init;
|
const void* init;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RtComileModuleList
|
struct RtCompileModuleList
|
||||||
{
|
{
|
||||||
RtComileModuleList* next;
|
RtCompileModuleList* next;
|
||||||
const char* irData;
|
const char* irData;
|
||||||
int irDataSize;
|
int irDataSize;
|
||||||
RtCompileFuncList* funcList;
|
RtCompileFuncList* funcList;
|
||||||
|
@ -276,7 +276,7 @@ MyJIT& getJit()
|
||||||
return jit;
|
return jit;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtCompileProcessImplSoInternal(const RtComileModuleList* modlist_head, const Context& context) {
|
void rtCompileProcessImplSoInternal(const RtCompileModuleList* modlist_head, const Context& context) {
|
||||||
interruptPoint(context, "Init");
|
interruptPoint(context, "Init");
|
||||||
MyJIT& myJit = getJit();
|
MyJIT& myJit = getJit();
|
||||||
auto current = modlist_head;
|
auto current = modlist_head;
|
||||||
|
@ -373,7 +373,7 @@ void rtCompileProcessImplSo(const void* modlist_head,
|
||||||
assert(nullptr != context);
|
assert(nullptr != context);
|
||||||
assert(sizeof(*context) == contextSize);
|
assert(sizeof(*context) == contextSize);
|
||||||
rtCompileProcessImplSoInternal(
|
rtCompileProcessImplSoInternal(
|
||||||
static_cast<const RtComileModuleList*>(modlist_head),
|
static_cast<const RtCompileModuleList*>(modlist_head),
|
||||||
*context);
|
*context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue