summaryrefslogtreecommitdiff
path: root/libartbase/base/bit_vector.cc
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2020-07-29 09:54:10 +0100
committer Orion Hodson <oth@google.com> 2020-07-29 09:57:28 +0100
commit26ab270882523210c44bf156211283936471bbf6 (patch)
tree3ae1cb1d37a5e4facc39443f3ccbe76f3b486460 /libartbase/base/bit_vector.cc
parent5880c77e9153b953952507cb924ce3ee8511e084 (diff)
A few more inclusive language updates based on newer wordlist
Based on: https://source.android.com/setup/contribute/respectful-code #inclusivefixit Bug: 161336379 Bug: 161896447 Test: art/test.py --host --64 Change-Id: I7e6362556136ce1a3085fffae7598104fa5bc56a
Diffstat (limited to 'libartbase/base/bit_vector.cc')
-rw-r--r--libartbase/base/bit_vector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libartbase/base/bit_vector.cc b/libartbase/base/bit_vector.cc
index c706c7ebf2..2ef14d7074 100644
--- a/libartbase/base/bit_vector.cc
+++ b/libartbase/base/bit_vector.cc
@@ -154,7 +154,7 @@ bool BitVector::Union(const BitVector* src) {
EnsureSize(highest_bit);
- // Paranoid: storage size should be big enough to hold this bit now.
+ // Check: storage size should be big enough to hold this bit now.
DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits);
}
@@ -186,7 +186,7 @@ bool BitVector::UnionIfNotIn(const BitVector* union_with, const BitVector* not_i
if (storage_size_ < union_with_size) {
EnsureSize(highest_bit);
- // Paranoid: storage size should be big enough to hold this bit now.
+ // Check: storage size should be big enough to hold this bit now.
DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits);
}