Bug fix for Chris.

llvm-svn: 1316
This commit is contained in:
Vikram S. Adve 2001-11-15 15:00:48 +00:00
parent b601fda7ce
commit 4cfdb79dce
1 changed files with 1 additions and 1 deletions

View File

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