Fix infinite looping

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2009-03-30 15:28:21 +00:00
parent fd653071b5
commit 48738b9244

View File

@ -107,6 +107,8 @@ bool Constant::ContainsRelocations(unsigned Kind) const {
// requested // requested
return true; return true;
} }
return false;
} }
for (unsigned i = 0, e = getNumOperands(); i != e; ++i) for (unsigned i = 0, e = getNumOperands(); i != e; ++i)