mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
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:
parent
531754c354
commit
97820fe8ab
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue