提交 e6a622b5 编写于 作者: B Behdad Esfahbod

[serialize] Enable bias assertion

上级 530ddbbc
......@@ -292,7 +292,7 @@ struct hb_serialize_context_t
for (const object_t::link_t &link : parent->links)
{
const object_t &child = *packed[link.objidx];
//assert (link.bias <= parent->tail - parent->head);
assert (link.bias <= parent->tail - parent->head);
unsigned offset = (child.head - parent->head) - link.bias;
if (link.is_wide)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册