summaryrefslogtreecommitdiffstats
path: root/byterun/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/memory.c')
-rw-r--r--byterun/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/byterun/memory.c b/byterun/memory.c
index 5587c1e45..82773b6ea 100644
--- a/byterun/memory.c
+++ b/byterun/memory.c
@@ -159,6 +159,7 @@ int add_to_heap (char *m)
/* Allocate more memory from malloc for the heap.
Return a blue block of at least the requested size (in words).
The caller must insert the block into the free list.
+ The request must be less than or equal to Max_wosize.
Return NULL when out of memory.
*/
static char *expand_heap (mlsize_t request)