| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index dd2d2df384bd4c64ab41759832154472cf59f8ff..13cedfc491811d6f7aa1a154d769e51502766179 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -3651,7 +3651,8 @@ uint16_t SeqOneByteString::SeqOneByteStringGet(int index) {
|
|
|
|
|
| void SeqOneByteString::SeqOneByteStringSet(int index, uint16_t value) {
|
| - DCHECK(index >= 0 && index < length() && value <= kMaxOneByteCharCode);
|
| + DCHECK(index >= 0 && index < length());
|
| + DCHECK(value <= kMaxOneByteCharCode);
|
| WRITE_BYTE_FIELD(this, kHeaderSize + index * kCharSize,
|
| static_cast<byte>(value));
|
| }
|
|
|