[Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs

llvm-svn: 178336
This commit is contained in:
Alexey Samsonov 2013-03-29 08:03:01 +00:00
parent 069ab0345b
commit 703a9870a2
1 changed files with 2 additions and 2 deletions

View File

@ -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) {