Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 650:aa6a0b7968f7

Show
Ignore:
Timestamp:
10/05/08 11:28:15 (2 months ago)
Author:
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
branch:
default
Message:

Added test case for bug #100
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gen/tollvm.cpp

    r648 r650  
    185185 
    186186    default: 
    187         printf("trying to convert unknown type with value %d\n", t->ty); 
     187        printf("trying to convert unknown type '%s' with value %d\n", t->toChars(), t->ty); 
    188188        assert(0); 
    189189    } 
  • gen/toobj.cpp

    r626 r650  
    619619        Logger::println("data segment"); 
    620620 
    621         // we don't want to touch private static members at all !!! 
    622         // template instances should always be emitted 
    623         if (!DtoIsTemplateInstance(this) && prot() == PROTprivate && getModule() != gIR->dmodule) 
    624             return; 
    625  
    626621        // don't duplicate work 
    627622        if (this->ir.resolved) return; 
Copyright © 2008, LDC Development Team.