summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-02-01 19:25:23 +0000
committerNadav Rotem <nrotem@apple.com>2013-02-01 19:25:23 +0000
commit5882e566a560691bef3eb817f6390ee93242b6a6 (patch)
treee2295e60d6bfcb8168063714bef745b78c36b459 /lib/CodeGen
parent9f285c6c31019f9db237932a56eff95d307fce06 (diff)
downloadexternal_llvm-5882e566a560691bef3eb817f6390ee93242b6a6.zip
external_llvm-5882e566a560691bef3eb817f6390ee93242b6a6.tar.gz
external_llvm-5882e566a560691bef3eb817f6390ee93242b6a6.tar.bz2
Fix errant fallthrough in the generation of the lifetime markers.
Found by Alexander Kornienko. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 393a6be..9bd6ae6 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -5170,6 +5170,7 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
Res = DAG.getNode(Opcode, dl, MVT::Other, Ops, 2);
DAG.setRoot(Res);
}
+ return 0;
}
case Intrinsic::invariant_start:
// Discard region information.