Mercurial > projects > ldc
view dmd/rmem.h @ 1210:3d4581761b4c
Add some alignment info where LLVM might otherwise be more pessimistic.
In particular, %.nest_arg is always aligned even though it's bitcast from i8*.
Pointers in vtables are also guaranteed to be stored at aligned addresses.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 12 Apr 2009 21:56:43 +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__