Mercurial > projects > ldc
view dmd/rmem.h @ 1212:df2227fdc860
For the outermost function needing a context frame, use the address of that
frame as the nest argument instead of the address of a single-element list
containing only that frame address.
This saves some stack space and reduces memory accesses.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 13 Apr 2009 04:09:08 +0200 |
parents | b30fe7e1dbb9 |
children |
line wrap: on
line source
#ifndef __RMEM_H__ #define __RMEM_H__ // jam memory stuff here #include "mem.h" #if (defined (__SVR4) && defined (__sun)) #include <alloca.h> #endif #ifdef __MINGW32__ #include <malloc.h> #endif #endif // __RMEM_H__