mirror of
https://github.com/lz4/lz4.git
synced 2024-11-30 21:34:17 +08:00
added LZ4_FORCEINLINE to counter gcc regression
as recommended by @terrelln
This commit is contained in:
parent
d51f046628
commit
9221419c6f
@ -403,7 +403,8 @@ static unsigned LZ4_NbCommonBytes (REGISTER reg_t val)
|
||||
}
|
||||
|
||||
#define STEPSIZE sizeof(reg_t)
|
||||
static unsigned LZ4_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* pInLimit)
|
||||
LZ4_FORCE_INLINE
|
||||
unsigned LZ4_count(const BYTE* pIn, const BYTE* pMatch, const BYTE* pInLimit)
|
||||
{
|
||||
const BYTE* const pStart = pIn;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user