refactor(ext/kv): don't use bigint literals (#18841)

This causes `DCHECK` fail in V8 when pointer compression
is disabled.
This commit is contained in:
Bartek Iwańczuk 2023-04-25 22:43:39 +02:00 committed by GitHub
parent 531754c354
commit 97820fe8ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,8 +278,8 @@ class AtomicOperation {
}
}
const MIN_U64 = 0n;
const MAX_U64 = 0xffffffffffffffffn;
const MIN_U64 = BigInt("0");
const MAX_U64 = BigInt("0xffffffffffffffff");
class KvU64 {
readonly value: bigint;