authorgravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2018-04-16 03:54:40+03:00
committergravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2018-04-16 03:54:40+03:00
log1c85050dad6a7e1d486606205ca2eb2cd7028ef5
tree4c4dce2fddf5def099bcfdce54b4930ff6109be2
parent253ecd5c11747f49575b8425a506c2fecfe26ee2

Set SizeLevel to 2 in ReleaseSmall mode


1 files changed, 1 insertions(+), 1 deletions(-)

src/zig_llvm.cpp+1-1
......@@ -100,7 +100,7 @@ bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machine_ref, LLVMM
100100 return true;
101101 }
102102 PMBuilder->OptLevel = target_machine->getOptLevel();
103 PMBuilder->SizeLevel = is_small ? 1 : 0;
103 PMBuilder->SizeLevel = is_small ? 2 : 0;
104104
105105 PMBuilder->DisableTailCalls = is_debug;
106106 PMBuilder->DisableUnitAtATime = is_debug;