comparison dmd2/declaration.h @ 945:03d7c4aac654

SWITCHED TO LLVM 2.5 ! Applied patch from ticket #129 to compile against latest LLVM. Thanks Frits van Bommel. Fixed implicit return by asm block at the end of a function on x86-32. Other architectures will produce an error at the moment. Adding support for new targets is fairly simple. Fixed return calling convention for complex numbers, ST and ST(1) were switched around. Added some testcases. I've run a dstress test and there are no regressions. However, the runtime does not seem to compile with symbolic debug information. -O3 -release -inline works well and is what I used for the dstress run. Tango does not compile, a small workaround is needed in tango.io.digest.Digest.Digest.hexDigest. See ticket #206 .
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 08 Feb 2009 05:26:54 +0100
parents 0749c0757a43
children 638d16625da2
comparison
equal deleted inserted replaced
944:eb310635d80e 945:03d7c4aac654
673 typedef std::map<const char*, LabelStatement*> LabelMap; 673 typedef std::map<const char*, LabelStatement*> LabelMap;
674 LabelMap labmap; 674 LabelMap labmap;
675 675
676 // if this is an array operation it gets a little special attention 676 // if this is an array operation it gets a little special attention
677 bool isArrayOp; 677 bool isArrayOp;
678
679 // true if overridden with the pragma(allow_inline); stmt
680 bool allowInlining;
678 }; 681 };
679 682
680 struct FuncAliasDeclaration : FuncDeclaration 683 struct FuncAliasDeclaration : FuncDeclaration
681 { 684 {
682 FuncDeclaration *funcalias; 685 FuncDeclaration *funcalias;