[compiler-rt] r178336 - [Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs
Alexey Samsonov
samsonov at google.com
Fri Mar 29 01:03:02 PDT 2013
Author: samsonov
Date: Fri Mar 29 03:03:01 2013
New Revision: 178336
URL: http://llvm.org/viewvc/llvm-project?rev=178336&view=rev
Log:
[Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h?rev=178336&r1=178335&r2=178336&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h Fri Mar 29 03:03:01 2013
@@ -282,11 +282,11 @@ class InternalVector {
UnmapOrDie(data_, capacity_ * sizeof(T));
}
T &operator[](uptr i) {
- DCHECK_LT(i, size_);
+ CHECK_LT(i, size_);
return data_[i];
}
const T &operator[](uptr i) const {
- DCHECK_LT(i, size_);
+ CHECK_LT(i, size_);
return data_[i];
}
void push_back(const T &element) {
More information about the llvm-commits
mailing list