Searched refs:kKindMask (Results 1 – 3 of 3) sorted by relevance
104 static_assert((EncodeIndirectRefKind(kLocal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()105 static_assert((EncodeIndirectRefKind(kGlobal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()106 static_assert((EncodeIndirectRefKind(kWeakGlobal) & (~kKindMask)) == 0, "Kind encoding error"); in ConstexprChecks()
333 static constexpr uint32_t kKindMask = (1u << kKindBits) - 1; variable348 return static_cast<IndirectRefKind>(uref & kKindMask); in DecodeIndirectRefKind()
389 static constexpr uint8_t kKindMask = (1 << kKindBits) - 1; variable411 return (kind_integer_value & kKindMask) << kKindOffset in MakeShortLocation()416 uint8_t kind = (location >> kKindOffset) & kKindMask; in ExtractKindFromShortLocation()