comparison gen/abi.cpp @ 1463:a5526b7a5ae6

D2: Applied function type from D1 frontend that got removed in D2, it's critical for member function type to be correct. Fixed a bunch of type discrepancies in druntime object.di vs. genobj.d . Disabled (#if 0) some potentally very large type dumps for -vv . Updated classinfo and typeinfo generation for D2, almost complete now. Added finer grained checks for vtbl type mismatching, aids debugging.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Wed, 03 Jun 2009 02:28:48 +0200
parents fe151804995a
children 2292878925f4
comparison
equal deleted inserted replaced
1462:f0423003caa6 1463:a5526b7a5ae6
383 383
384 Type* ty = arg.type->toBasetype(); 384 Type* ty = arg.type->toBasetype();
385 if (ty->ty == Tstruct) 385 if (ty->ty == Tstruct)
386 fixup(arg); 386 fixup(arg);
387 387
388 #if 0
388 if (Logger::enabled()) 389 if (Logger::enabled())
389 Logger::cout() << "New arg type: " << *arg.ltype << '\n'; 390 Logger::cout() << "New arg type: " << *arg.ltype << '\n';
391 #endif
390 } 392 }
391 } 393 }
392 }; 394 };
393 395
394 TargetABI * TargetABI::getIntrinsic() 396 TargetABI * TargetABI::getIntrinsic()