<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I would like to move first function of module to end. To do this, I remove function from module, then I insert it with getOrInsertFunction() method. It worked. But there is a problem: I can't see body of function (basic blocks). In other words, function basic blocks don't move.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">To solve, I store function basic blocks before remove it. and after function insertion, I want to insert them to function. But when I want to add them with insertInto() method, this error appears:<br>no member named 'insertInto' in 'llvm::BasicBlock'.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'm confused. I sure this method exists in BasicBlock class.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Any help? Thanks.</div></div>