mirror of https://git.tukaani.org/xz.git
liblzma: LZ decoder: Add unlikely().
This commit is contained in:
parent
9c252e3ed0
commit
5938f6de4d
|
@ -206,7 +206,7 @@ dict_put(lzma_dict *dict, uint8_t byte)
|
|||
static inline bool
|
||||
dict_put_safe(lzma_dict *dict, uint8_t byte)
|
||||
{
|
||||
if (dict->pos == dict->limit)
|
||||
if (unlikely(dict->pos == dict->limit))
|
||||
return true;
|
||||
|
||||
dict_put(dict, byte);
|
||||
|
|
Loading…
Reference in New Issue