summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-03-21 16:38:22 +0000
committerJay Foad <jay.foad@gmail.com>2011-03-21 16:38:22 +0000
commit4dc36c66e584b89c22c8594e3ff7375e1aab0ae2 (patch)
tree0775d2cdc25a1c4e0954431f1cf59a3247158981 /llvm
parent04fe64f899a854a0ca3a0f09fd1ddb2b8c3225c4 (diff)
downloadbcm5719-llvm-4dc36c66e584b89c22c8594e3ff7375e1aab0ae2.tar.gz
bcm5719-llvm-4dc36c66e584b89c22c8594e3ff7375e1aab0ae2.zip
Fix typos in assert messages.
llvm-svn: 128002
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/User.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/User.h b/llvm/include/llvm/User.h
index 1363495f7c0..3f9c28e7b38 100644
--- a/llvm/include/llvm/User.h
+++ b/llvm/include/llvm/User.h
@@ -95,11 +95,11 @@ public:
OperandList[i] = Val;
}
const Use &getOperandUse(unsigned i) const {
- assert(i < NumOperands && "getOperand() out of range!");
+ assert(i < NumOperands && "getOperandUse() out of range!");
return OperandList[i];
}
Use &getOperandUse(unsigned i) {
- assert(i < NumOperands && "getOperand() out of range!");
+ assert(i < NumOperands && "getOperandUse() out of range!");
return OperandList[i];
}
OpenPOWER on IntegriCloud