diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 16:23:09 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 16:23:09 +0000 |
commit | ab4eff620a9ce0ea62cdf29529a66c2c98d116f5 (patch) | |
tree | 3436ed0995339e169eec04f032694613d36b9f9a /lib/CodeGen/CGExprScalar.cpp | |
parent | 2c2d9dc382a561553a05bf0e96ab67e403beff09 (diff) |
Make sure value is initialized when built w/o asserts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
-rw-r--r-- | lib/CodeGen/CGExprScalar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index 3a24af4953..928ad29ab7 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/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; |