5#ifndef RUNTIME_VM_RANDOM_H_
6#define RUNTIME_VM_RANDOM_H_
22 explicit Random(uint64_t seed);
27 return (
static_cast<uint64_t
>(
NextUInt32()) << 32) |
39 const uint64_t kMaxJsInt = 0x1FFFFFFFFFFFFF;
52 void Initialize(uint64_t seed);
54 std::atomic<uint64_t> _state;
56 DISALLOW_COPY_AND_ASSIGN(
Random);
static uint64_t GlobalNextUInt64()
DECLARE_FLAG(bool, show_invisible_frames)