Bug fix for Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1316 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2001-11-15 15:00:48 +00:00
parent 2ed5ccd512
commit dcf1620896

View File

@ -193,7 +193,7 @@ public:
const vector<ConstPoolVal*> &getIndices() const { return indexVec; }
inline bool hasIndices() const {
return getNumOperands() <= getFirstIndexOperandNumber();
return getNumOperands() > getFirstIndexOperandNumber();
}
};