mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
For 64 bit pointers, 0xffffffff as end-of-list marker pointer does not work, as the marker is expected to be greater than the start address of the heap area (and also max 0xffffffff away), but on 64 bit systems, the heap can start on higher addresses, i.e., above 0x100000000. This patch changes JMEM_HEAP_END_OF_LIST from pointer to offset. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu