diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-05-01 01:02:17 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-05-01 01:02:17 +0000 |
commit | f43d8e1cce7a5bfd4e464ea83647b4b13c8154ad (patch) | |
tree | e373723f53f9cdb0829e50ee090494efaeb59d98 /clang/lib | |
parent | 80c9759ef74037c485d3e9f4b27a38b3633a2139 (diff) | |
download | bcm5719-llvm-f43d8e1cce7a5bfd4e464ea83647b4b13c8154ad.tar.gz bcm5719-llvm-f43d8e1cce7a5bfd4e464ea83647b4b13c8154ad.zip |
InstrProf: This call does nothing, remove it
llvm-svn: 236298
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 0bdc50813f4..2922a215ade 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -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 |