added LZ4_FORCEINLINE to counter gcc regression

as recommended by @terrelln
This commit is contained in:
Yann Collet 2017-11-06 17:29:27 -08:00
parent d51f046628
commit 9221419c6f

View File

@ -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;