mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
Run module level LLVM optimization passes before calling finalizeObject
This commit is contained in:
parent
a2551ce95e
commit
606b7f5a00
1 changed files with 1 additions and 1 deletions
|
@ -143,8 +143,8 @@ LLVMDrawersImpl::LLVMDrawersImpl()
|
|||
CodegenDrawWall("tmvline1_revsubclamp", DrawWallVariant::RevSubClamp, 1);
|
||||
CodegenDrawWall("tmvline4_revsubclamp", DrawWallVariant::RevSubClamp, 4);
|
||||
|
||||
mProgram.engine()->finalizeObject();
|
||||
mProgram.modulePassManager()->run(*mProgram.module());
|
||||
mProgram.engine()->finalizeObject();
|
||||
|
||||
FillColumn = mProgram.GetProcAddress<void(const DrawColumnArgs *, const WorkerThreadData *)>("FillColumn");
|
||||
FillColumnAdd = mProgram.GetProcAddress<void(const DrawColumnArgs *, const WorkerThreadData *)>("FillColumnAdd");
|
||||
|
|
Loading…
Reference in a new issue