Searched refs:kKindMask (Results 1 – 2 of 2) sorted by relevance
243 reinterpret_cast<uintptr_t>(iref) & ~static_cast<uintptr_t>(kKindMask)); in ClearIndirectRefKind()247 return kKindMask; in GetIndirectRefKindMask()262 static constexpr uint32_t kKindMask = (1u << kKindBits) - 1; variable277 return static_cast<IndirectRefKind>(uref & kKindMask); in DecodeIndirectRefKind()
120 static_assert((EncodeIndirectRefKind(kLocal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()121 static_assert((EncodeIndirectRefKind(kGlobal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()122 static_assert((EncodeIndirectRefKind(kWeakGlobal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()