Mercurial > projects > ldc
comparison runtime/llvmdc.diff @ 647:669a2c84f4e4
Updated the Tango patch to latest revision. Removed problematic (Jarrett) include <cassert> from gen/runtime.cpp
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 05 Oct 2008 02:01:50 +0200 |
parents | 307ae566885f |
children | 6aaa3d3c1183 |
comparison
equal
deleted
inserted
replaced
646:51c4d1a64da6 | 647:669a2c84f4e4 |
---|---|
10 + void function() ictor; | 10 + void function() ictor; |
11 + | 11 + |
12 static int opApply( int delegate( inout ModuleInfo ) ); | 12 static int opApply( int delegate( inout ModuleInfo ) ); |
13 } | 13 } |
14 | 14 |
15 Index: lib/common/tango/core/Exception.d | |
16 =================================================================== | |
17 --- lib/common/tango/core/Exception.d (revision 3954) | |
18 +++ lib/common/tango/core/Exception.d (working copy) | |
19 @@ -223,7 +223,7 @@ | |
20 /** | |
21 * The basic exception thrown by the tango.io.vfs package. | |
22 */ | |
23 -private class VfsException : IOException | |
24 +class VfsException : IOException | |
25 { | |
26 this( char[] msg ) | |
27 { | |
28 @@ -234,7 +234,7 @@ | |
29 /** | |
30 * The basic exception thrown by the tango.io.cluster package. | |
31 */ | |
32 -private class ClusterException : IOException | |
33 +class ClusterException : IOException | |
34 { | |
35 this( char[] msg ) | |
36 { | |
37 Index: lib/common/tango/core/BitManip.d | 15 Index: lib/common/tango/core/BitManip.d |
38 =================================================================== | 16 =================================================================== |
39 --- lib/common/tango/core/BitManip.d (revision 3954) | 17 --- lib/common/tango/core/BitManip.d (revision 3954) |
40 +++ lib/common/tango/core/BitManip.d (working copy) | 18 +++ lib/common/tango/core/BitManip.d (working copy) |
41 @@ -171,6 +171,10 @@ | 19 @@ -171,6 +171,10 @@ |
362 + { | 340 + { |
363 + Arg[64] arglist = void; | 341 + Arg[64] arglist = void; |
364 int[64] intargs = void; | 342 int[64] intargs = void; |
365 byte[64] byteargs = void; | 343 byte[64] byteargs = void; |
366 long[64] longargs = void; | 344 long[64] longargs = void; |
367 Index: tango/io/vfs/model/Vfs.d | |
368 =================================================================== | |
369 --- tango/io/vfs/model/Vfs.d (revision 3954) | |
370 +++ tango/io/vfs/model/Vfs.d (working copy) | |
371 @@ -38,7 +38,7 @@ | |
372 | |
373 *******************************************************************************/ | |
374 | |
375 -private struct VfsStats | |
376 +struct VfsStats | |
377 { | |
378 ulong bytes; // byte count of files | |
379 uint files, // number of files | |
380 Index: tango/core/Vararg.d | 345 Index: tango/core/Vararg.d |
381 =================================================================== | 346 =================================================================== |
382 --- tango/core/Vararg.d (revision 3954) | 347 --- tango/core/Vararg.d (revision 3954) |
383 +++ tango/core/Vararg.d (working copy) | 348 +++ tango/core/Vararg.d (working copy) |
384 @@ -15,6 +15,10 @@ | 349 @@ -15,6 +15,10 @@ |
711 + return tango.stdc.math.powl(x, y); | 676 + return tango.stdc.math.powl(x, y); |
712 + } | 677 + } |
713 } | 678 } |
714 | 679 |
715 debug(UnitTest) { | 680 debug(UnitTest) { |
716 Index: tango/math/internal/BignumX86.d | |
717 =================================================================== | |
718 --- tango/math/internal/BignumX86.d (revision 3954) | |
719 +++ tango/math/internal/BignumX86.d (working copy) | |
720 @@ -56,6 +56,8 @@ | |
721 private: | |
722 version(GNU) { | |
723 // GDC is a filthy liar. It can't actually do inline asm. | |
724 +} else version(LLVMDC) { | |
725 + // I guess the same goes for llvmdc to some extent :( | |
726 } else version(D_InlineAsm_X86) { | |
727 /* Duplicate string s, with n times, substituting index for '@'. | |
728 * | |
729 Index: tango/stdc/stdlib.d | 681 Index: tango/stdc/stdlib.d |
730 =================================================================== | 682 =================================================================== |
731 --- tango/stdc/stdlib.d (revision 3954) | 683 --- tango/stdc/stdlib.d (revision 3954) |
732 +++ tango/stdc/stdlib.d (working copy) | 684 +++ tango/stdc/stdlib.d (working copy) |
733 @@ -94,6 +94,11 @@ | 685 @@ -94,6 +94,11 @@ |
755 + public import llvmdc.cstdarg; | 707 + public import llvmdc.cstdarg; |
756 +} | 708 +} |
757 else | 709 else |
758 { | 710 { |
759 alias void* va_list; | 711 alias void* va_list; |
760 Index: tango/util/log/Log.d | |
761 =================================================================== | |
762 --- tango/util/log/Log.d (revision 3954) | |
763 +++ tango/util/log/Log.d (working copy) | |
764 @@ -1275,7 +1275,7 @@ | |
765 | |
766 *******************************************************************************/ | |
767 | |
768 -private struct LogEvent | |
769 +struct LogEvent | |
770 { | |
771 private char[] msg_, | |
772 name_; | |
773 Index: tango/time/chrono/GregorianBased.d | |
774 =================================================================== | |
775 --- tango/time/chrono/GregorianBased.d (revision 3954) | |
776 +++ tango/time/chrono/GregorianBased.d (working copy) | |
777 @@ -21,7 +21,7 @@ | |
778 | |
779 | |
780 | |
781 -private class GregorianBased : Gregorian { | |
782 +class GregorianBased : Gregorian { | |
783 | |
784 private EraRange[] eraRanges_; | |
785 private int maxYear_, minYear_; |