X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FVMCore%2FCore.cpp;h=d04701e146c162aed0a16f8ea93d1c02aebefe44;hp=068735e490071c60bfbb027b17dd70b2e0859525;hb=c23197a26f34f559ea9797de51e187087c039c42;hpb=1f316e321a8f2fa0e193c5444584a67a8aabe9a8 diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 068735e4900..d04701e146c 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -1063,7 +1063,7 @@ unsigned LLVMGetInstructionCallConv(LLVMValueRef Instr) { return CI->getCallingConv(); else if (InvokeInst *II = dyn_cast(V)) return II->getCallingConv(); - LLVM_UNREACHABLE("LLVMGetInstructionCallConv applies only to call and invoke!"); + llvm_unreachable("LLVMGetInstructionCallConv applies only to call and invoke!"); return 0; } @@ -1073,7 +1073,7 @@ void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC) { return CI->setCallingConv(CC); else if (InvokeInst *II = dyn_cast(V)) return II->setCallingConv(CC); - LLVM_UNREACHABLE("LLVMSetInstructionCallConv applies only to call and invoke!"); + llvm_unreachable("LLVMSetInstructionCallConv applies only to call and invoke!"); } void LLVMAddInstrAttribute(LLVMValueRef Instr, unsigned index,