Cleanup: Remove unused code in backend, silence some warnings.

This removed quite some clutter that has presumably piled up because LDC is seldom built with a lot of warnings enabled due to DMDFE.
This commit is contained in:
David Nadlinger
2011-04-24 12:21:33 +02:00
parent 009ce6e161
commit 7a24e12736
15 changed files with 25 additions and 69 deletions

View File

@@ -635,9 +635,7 @@ void X86_64TargetABI::rewriteFunctionType(TypeFunction* tf) {
// Arguments that are in memory are of no interest to us.
if (arg.byref)
continue;
Type* ty = arg.type->toBasetype();
fixup(arg);
if (Logger::enabled())
Logger::cout() << "New arg type: " << *arg.ltype << '\n';