Commit a54ace7b authored by thoughtpolice's avatar thoughtpolice

Fix i386/Linux build.

Signed-off-by: thoughtpolice's avatarAustin Seipp <aseipp@pobox.com>
parent 3229eadb
......@@ -2057,11 +2057,15 @@ void freeObjectCode (ObjectCode *oc)
sysErrorBelch("munmap");
}
#if defined(powerpc_HOST_ARCH) || defined(x86_64_HOST_ARCH) || defined(arm_HOST_ARCH)
#if !defined(x86_64_HOST_ARCH) || !defined(mingw32_HOST_OS)
if (!USE_CONTIGUOUS_MMAP)
{
munmap(oc->symbol_extras,
ROUND_UP(sizeof(SymbolExtra) * oc->n_symbol_extras, pagesize));
}
#endif
#endif
#else
......@@ -2073,7 +2077,6 @@ void freeObjectCode (ObjectCode *oc)
#endif
#endif
#endif
stgFree(oc->fileName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment