diff options
Diffstat (limited to 'llvm/include/llvm/iMemory.h')
| -rw-r--r-- | llvm/include/llvm/iMemory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/iMemory.h b/llvm/include/llvm/iMemory.h index 1dbc1dbea34..8c5344fed1f 100644 --- a/llvm/include/llvm/iMemory.h +++ b/llvm/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(); } }; |

