Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3461 for tags

Show
Ignore:
Timestamp:
04/25/08 03:09:30 (6 months ago)
Author:
larsivi
Message:

Support DMD 1.029 fixes in 0.99.6

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/releases/0.99.6/lib/compiler/dmd/aaA.d

    r3439 r3461  
    77 
    88/* 
    9  *  Copyright (C) 2000-2007 by Digital Mars, www.digitalmars.com 
     9 *  Copyright (C) 2000-2008 by Digital Mars, http://www.digitalmars.com 
    1010 *  Written by Walter Bright 
    1111 * 
     
    5353 
    5454static size_t[] prime_list = [ 
    55     97UL,         389UL, 
    56     1543UL,       6151UL, 
    57     24593UL,      98317UL, 
    58     393241UL,     1572869UL, 
    59     6291469UL,    25165843UL, 
    60     100663319UL,  402653189UL, 
    61     1610612741UL, 4294967291UL 
     55              97UL,            389UL, 
     56           1_543UL,          6_151UL, 
     57          24_593UL,         98_317UL, 
     58          393_241UL,      1_572_869UL, 
     59        6_291_469UL,     25_165_843UL, 
     60      100_663_319UL,    402_653_189UL, 
     61    1_610_612_741UL,  4_294_967_291UL, 
     62//  8_589_934_513UL, 17_179_869_143UL 
    6263]; 
    6364 
  • tags/releases/0.99.6/lib/compiler/dmd/genobj.d

    r3145 r3461  
    125125/** 
    126126 * Information about an interface. 
    127  * A pointer to this appears as the first entry in the interface's vtbl[]. 
     127 * When an object is accessed via an interface, an Interface* appears as the 
     128 * first entry in its vtbl. 
    128129 */ 
    129130struct Interface 
     
    622623    { 
    623624        Object o = *cast(Object*)p; 
    624         assert(o); 
    625         return o.toHash(); 
     625        return o ? o.toHash() : 0; 
    626626    } 
    627627 
  • tags/releases/0.99.6/lib/compiler/dmd/typeinfo/ti_C.d

    r1414 r3461  
    3131    { 
    3232        Object o = *cast(Object*)p; 
    33         assert(o); 
    34         return o.toHash(); 
     33        return o ? o.toHash() : 0; 
    3534    } 
    3635 
  • tags/releases/0.99.6/lib/compiler/gdc/aaA.d

    r3439 r3461  
    77 
    88/* 
    9  *  Copyright (C) 2000-2007 by Digital Mars, www.digitalmars.com 
     9 *  Copyright (C) 2000-2008 by Digital Mars, http://www.digitalmars.com 
    1010 *  Written by Walter Bright 
    1111 * 
     
    5858 
    5959static size_t[] prime_list = [ 
    60     97UL,         389UL, 
    61     1543UL,       6151UL, 
    62     24593UL,      98317UL, 
    63     393241UL,     1572869UL, 
    64     6291469UL,    25165843UL, 
    65     100663319UL,  402653189UL, 
    66     1610612741UL, 4294967291UL 
     60              97UL,            389UL, 
     61           1_543UL,          6_151UL, 
     62          24_593UL,         98_317UL, 
     63          393_241UL,      1_572_869UL, 
     64        6_291_469UL,     25_165_843UL, 
     65      100_663_319UL,    402_653_189UL, 
     66    1_610_612_741UL,  4_294_967_291UL, 
     67//  8_589_934_513UL, 17_179_869_143UL 
    6768]; 
    6869 
  • tags/releases/0.99.6/lib/compiler/gdc/genobj.d

    r3145 r3461  
    125125/** 
    126126 * Information about an interface. 
    127  * A pointer to this appears as the first entry in the interface's vtbl[]. 
     127 * When an object is accessed via an interface, an Interface* appears as the 
     128 * first entry in its vtbl. 
    128129 */ 
    129130struct Interface 
     
    622623    { 
    623624        Object o = *cast(Object*)p; 
    624         assert(o); 
    625         return o.toHash(); 
     625        return o ? o.toHash() : 0; 
    626626    } 
    627627 
  • tags/releases/0.99.6/lib/compiler/gdc/typeinfo/ti_C.d

    r1617 r3461  
    3131    { 
    3232        Object o = *cast(Object*)p; 
    33         assert(o); 
    34         return o.toHash(); 
     33        return o ? o.toHash() : 0; 
    3534    } 
    3635