aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-11-15 15:00:48 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-11-15 15:00:48 +0000
commitdcf162089603b4fc385569b3621f2d9a90f3bdb2 (patch)
tree362fa1dbe89d6e5117645aa90f2a779ee9258249
parent2ed5ccd5128f80791c81f6875c5a9393bc1f584c (diff)
Bug fix for Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1316 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/iMemory.h2
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();
}
};