]> granicus.if.org Git - clang/commitdiff
InstrProf: This call does nothing, remove it
authorJustin Bogner <mail@justinbogner.com>
Fri, 1 May 2015 01:02:17 +0000 (01:02 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 1 May 2015 01:02:17 +0000 (01:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236298 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGCall.cpp

index 0bdc50813f4aad2358d810c7af7671bd56a09718..2922a215ade422df19976f3202b83d560e428650 100644 (file)
@@ -2971,7 +2971,6 @@ void CodeGenFunction::EmitNoreturnRuntimeCallOrInvoke(llvm::Value *callee,
     call->setCallingConv(getRuntimeCC());
     Builder.CreateUnreachable();
   }
-  PGO.setCurrentRegionUnreachable();
 }
 
 /// Emits a call or invoke instruction to the given nullary runtime