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

Changeset 1453:f35a9a77d256

Show
Ignore:
Timestamp:
06/01/09 13:58:21 (3 years ago)
Author:
Robert Clipsham <robert@octarineparrot.com>
branch:
default
Message:

More tweaks.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • .hgignore

    r1129 r1453  
    99*.s 
    1010*.so 
     11*.swp 
    1112*.rej 
    1213Makefile 
  • CMakeLists.txt

    r1396 r1453  
    7171    set(DMDFE_PATH dmd) 
    7272    set(LDC_EXE ldc) 
     73    set(LDMD_EXE ldmd) 
    7374    add_definitions(-DDMDV1) 
    7475elseif(D_VERSION EQUAL 2) 
    7576    set(DMDFE_PATH dmd2) 
    7677    set(LDC_EXE ldc2) 
     78    set(LDMD_EXE ldmd2) 
    7779    add_definitions(-DDMDV2) 
    7880else(D_VERSION EQUAL 1) 
     
    231233 
    232234install(TARGETS ${LDC_EXE} DESTINATION bin) 
    233 install(FILES ${PROJECT_SOURCE_DIR}/bin/ldmd DESTINATION bin) 
     235install(FILES ${PROJECT_SOURCE_DIR}/bin/${LDMD_EXE} DESTINATION bin) 
    234236install(FILES ${PROJECT_BINARY_DIR}/bin/${LDC_EXE}.conf DESTINATION ${CONF_INST_DIR}) 
    235237install(FILES ${PROJECT_BINARY_DIR}/bin/${LDC_EXE}.rebuild.conf DESTINATION ${CONF_INST_DIR}) 
  • gen/classes.cpp

    r1391 r1453  
    673673//         void *destructor; 
    674674//         void *invariant;        // class invariant 
     675//         version(D_Version2) 
     676//          void *xgetMembers;  
    675677//         uint flags; 
    676678//         void *deallocator; 
     
    691693    ClassDeclaration* cinfo = ClassDeclaration::classinfo; 
    692694 
     695#if DMDV2 
     696    if (cinfo->fields.dim != 13) 
     697#else 
    693698    if (cinfo->fields.dim != 12) 
     699#endif 
    694700    { 
    695701        error("object.d ClassInfo class is incorrect"); 
  • gen/toobj.cpp

    r1386 r1453  
    621621    } 
    622622    // check for patch 
     623#if DMDV2 
     624    else if (moduleinfo->fields.dim != 10) 
     625#else 
    623626    else if (moduleinfo->fields.dim != 9) 
     627#endif 
    624628    { 
    625629        error("object.d ModuleInfo class is incorrect"); 
  • ir/irclass.cpp

    r1452 r1453  
    179179    constVtbl = llvm::ConstantStruct::get(constants, false); 
    180180 
    181     // sanity check 
    182181#if 0 
    183     IF_LOG Logger::cout() << "constVtbl type: " << *constVtbl->getType() << std::endl; 
    184     IF_LOG Logger::cout() << "vtbl type: " << *type->irtype->isClass()->getVtbl() << std::endl; 
     182   IF_LOG Logger::cout() << "constVtbl type: " << *constVtbl->getType() << std::endl; 
     183   IF_LOG Logger::cout() << "vtbl type: " << *type->irtype->isClass()->getVtbl() << std::endl; 
    185184#endif 
    186  
    187185    assert(constVtbl->getType() == type->irtype->isClass()->getVtbl() && 
    188186        "vtbl initializer type mismatch"); 
Copyright © 2008, LDC Development Team.