summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-08 16:23:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-08 16:23:09 +0000
commitd92123fd2a828f254f2dbcb628b352cc17e80a6b (patch)
tree8c90b2a1b382c5d10f9e0ceb0a5bc0611cfbcf0a /clang/lib/CodeGen/CGExprScalar.cpp
parent5a82613db05e3a2b7c05a2029b67296d954c5112 (diff)
downloadbcm5719-llvm-d92123fd2a828f254f2dbcb628b352cc17e80a6b.tar.gz
bcm5719-llvm-d92123fd2a828f254f2dbcb628b352cc17e80a6b.zip
Make sure value is initialized when built w/o asserts.
llvm-svn: 68615
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprScalar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp
index 3a24af49531..928ad29ab79 100644
--- a/clang/lib/CodeGen/CGExprScalar.cpp
+++ b/clang/lib/CodeGen/CGExprScalar.cpp
@@ -854,6 +854,7 @@ Value *ScalarExprEmitter::EmitOverflowCheckedBinOp(const BinOpInfo &Ops) {
break;
default:
assert(false && "Unsupported operation for overflow detection");
+ IID = 0;
}
OpID <<= 1;
OpID |= 1;
OpenPOWER on IntegriCloud