code format

This commit is contained in:
van Hauser
2020-07-05 11:08:22 +02:00
parent 7d0af01d8b
commit 95fd080ca1
4 changed files with 17 additions and 16 deletions

View File

@ -209,6 +209,7 @@ static void *__dislocator_alloc(size_t len) {
flags |= MAP_ALIGN;
}
#endif
#else
(void)sp;

View File

@ -474,8 +474,8 @@ bool CompareTransform::transformCmps(Module &M, const bool processStrcmp,
if (cur_lenchk_bb) {
IRBuilder<> cur_lenchk_IRB(&*(cur_lenchk_bb->getFirstInsertionPt()));
Value * icmp = cur_lenchk_IRB.CreateICmpEQ(sizedValue,
ConstantInt::get(sizedValue->getType(), i));
Value * icmp = cur_lenchk_IRB.CreateICmpEQ(
sizedValue, ConstantInt::get(sizedValue->getType(), i));
cur_lenchk_IRB.CreateCondBr(icmp, end_bb, cur_cmp_bb);
cur_lenchk_bb->getTerminator()->eraseFromParent();