summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-05-01 01:02:17 +0000
committerJustin Bogner <mail@justinbogner.com>2015-05-01 01:02:17 +0000
commit0700563a9e918970857397016c48a547cff517e6 (patch)
treebb86323319f7225c0c44b96a7978fb343afbbaf6 /lib/CodeGen/CGCall.cpp
parentcc56792acc15dbc5a6d75e4a851d41a0cc4b0d0c (diff)
InstrProf: This call does nothing, remove it
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236298 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r--lib/CodeGen/CGCall.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index 0bdc50813f..2922a215ad 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/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