comparison runtime/internal/aaA.d @ 486:a34078905d01

Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in. Reimplemented support for nested functions/class using a new approach. Added error on taking address of intrinsic. Fixed problems with the ->syntaxCopy of TypeFunction delegate exp. Removed DtoDType and replaced all uses with ->toBasetype() instead. Removed unused inplace stuff. Fixed a bunch of issues in the runtime unittests, not complete yet. Added mini tests.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 10 Aug 2008 08:37:38 +0200
parents 44f08170f4ef
children eef8ac26c66c
comparison
equal deleted inserted replaced
485:50f6e2337a6b 486:a34078905d01
99 * in value. 99 * in value.
100 */ 100 */
101 101
102 size_t aligntsize(size_t tsize) 102 size_t aligntsize(size_t tsize)
103 { 103 {
104 // Is pointer alignment on the x64 4 bytes or 8?
105 return (tsize + size_t.sizeof - 1) & ~(size_t.sizeof - 1); 104 return (tsize + size_t.sizeof - 1) & ~(size_t.sizeof - 1);
106 } 105 }
107 106
108 extern (C): 107 extern (C):
109 108