diff options
-rw-r--r-- | include/llvm/iMemory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/iMemory.h b/include/llvm/iMemory.h index 1dbc1dbea3..8c5344fed1 100644 --- a/include/llvm/iMemory.h +++ b/include/llvm/iMemory.h @@ -193,7 +193,7 @@ public: const vector<ConstPoolVal*> &getIndices() const { return indexVec; } inline bool hasIndices() const { - return getNumOperands() <= getFirstIndexOperandNumber(); + return getNumOperands() > getFirstIndexOperandNumber(); } }; |