mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Added LLIMCJITMemoryManager to the lli. This manager will be used for MCJIT instead of DefaultJIMMemoryManager.
It's more flexible for MCJIT tasks, in addition it's provides a invalidation instruction cache for code sections which will be used before JIT code will be executed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,12 +34,12 @@ public:
|
||||
|
||||
uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
|
||||
unsigned SectionID) {
|
||||
return JMM->allocateSpace(Size, Alignment);
|
||||
return JMM->allocateDataSection(Size, Alignment, SectionID);
|
||||
}
|
||||
|
||||
uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
|
||||
unsigned SectionID) {
|
||||
return JMM->allocateSpace(Size, Alignment);
|
||||
return JMM->allocateCodeSection(Size, Alignment, SectionID);
|
||||
}
|
||||
|
||||
virtual void *getPointerToNamedFunction(const std::string &Name,
|
||||
|
Reference in New Issue
Block a user