diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-11 01:29:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-11 01:29:30 +0000 |
commit | a0ae8196a1d2d1291949e268afc1bf932c9f8028 (patch) | |
tree | 77acab5cf118e38c55dd471cb8246cae53aa571d /lib/VMCore/ConstantFold.cpp | |
parent | adb7c0de394b4de58a0ac79092932c28ddc3dcf1 (diff) | |
download | external_llvm-a0ae8196a1d2d1291949e268afc1bf932c9f8028.zip external_llvm-a0ae8196a1d2d1291949e268afc1bf932c9f8028.tar.gz external_llvm-a0ae8196a1d2d1291949e268afc1bf932c9f8028.tar.bz2 |
Add a missing break, which caused a crash in an obscure situation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantFold.cpp')
-rw-r--r-- | lib/VMCore/ConstantFold.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp index 1fee501..641ceae 100644 --- a/lib/VMCore/ConstantFold.cpp +++ b/lib/VMCore/ConstantFold.cpp @@ -685,6 +685,7 @@ static Instruction::BinaryOps evaluateRelation(const Constant *V1, CE1->getType()->isLosslesslyConvertibleTo(CE1Op0->getType())) return evaluateRelation(CE1Op0, Constant::getNullValue(CE1Op0->getType())); + break; case Instruction::GetElementPtr: // Ok, since this is a getelementptr, we know that the constant has a |