[WinEH] Use operand bundles to describe call sites
[oota-llvm.git] / lib / Transforms / Utils / Local.cpp
index 24f88179c9036d6e472b74549d3fdc582ccf6cfb..31039816e14a957d3d41ce6dd7cbb0eb5b3202f8 100644 (file)
@@ -1180,9 +1180,7 @@ bool llvm::replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
                            Deref, Offset);
 }
 
-/// changeToUnreachable - Insert an unreachable instruction before the specified
-/// instruction, making it and the rest of the code in the block dead.
-static void changeToUnreachable(Instruction *I, bool UseLLVMTrap) {
+void llvm::changeToUnreachable(Instruction *I, bool UseLLVMTrap) {
   BasicBlock *BB = I->getParent();
   // Loop over all of the successors, removing BB's entry from any PHI
   // nodes.