Fix compiler warning.

This commit is contained in:
Mike Pall 2011-05-27 02:01:36 +02:00
parent 46955be1e2
commit 7bad42a3ba

View File

@ -856,7 +856,9 @@ static uint32_t ir_khash(IRIns *ir)
static void asm_cache_flush(MCode *start, MCode *end) static void asm_cache_flush(MCode *start, MCode *end)
{ {
VG_INVALIDATE(start, (char *)end-(char *)start); VG_INVALIDATE(start, (char *)end-(char *)start);
#if !LJ_TARGET_X86ORX64 #if LJ_TARGET_X86ORX64
UNUSED(start); UNUSED(end);
#else
#if defined(__GNUC__) #if defined(__GNUC__)
__clear_cache(start, end); __clear_cache(start, end);
#else #else