未验证 提交 022f7646 编写于 作者: A Andrew Au 提交者: GitHub

Allow address == g_gc_highest_address in get_skewed_basic_region_index_for_address (#74543)

上级 234555d4
......@@ -3570,7 +3570,7 @@ sorted_table::clear()
inline
size_t get_skewed_basic_region_index_for_address (uint8_t* address)
{
assert ((g_gc_lowest_address <= address) && (address < g_gc_highest_address));
assert ((g_gc_lowest_address <= address) && (address <= g_gc_highest_address));
size_t skewed_basic_region_index = (size_t)address >> gc_heap::min_segment_size_shr;
return skewed_basic_region_index;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册