LJ_GC64: Allow optional use of the system memory allocator.

This commit is contained in:
Mike Pall
2016-06-03 06:42:35 +02:00
parent 7d43402304
commit 58ca165737
3 changed files with 6 additions and 6 deletions

View File

@@ -121,8 +121,8 @@ XCFLAGS=
#
# Use the system provided memory allocator (realloc) instead of the
# bundled memory allocator. This is slower, but sometimes helpful for
# debugging. This option cannot be enabled on x64, since realloc usually
# doesn't return addresses in the right address range.
# debugging. This option cannot be enabled on x64 without GC64, since
# realloc usually doesn't return addresses in the right address range.
# OTOH this option is mandatory for Valgrind's memcheck tool on x64 and
# the only way to get useful results from it for all other architectures.
#XCFLAGS+= -DLUAJIT_USE_SYSMALLOC