Cleanup: GCC warning fixes.

This commit is contained in:
David Nadlinger
2012-12-20 01:15:18 +01:00
parent ab357a41c7
commit 4118cddd1f
4 changed files with 2 additions and 16 deletions

View File

@@ -182,12 +182,6 @@ static void LLVM_D_BuildRuntimeModule()
LLType* longTy = LLType::getInt64Ty(gIR->context());
LLType* sizeTy = DtoSize_t();
LLType* realTy;
if ((global.params.cpu == ARCHx86) || (global.params.cpu == ARCHx86_64))
realTy = LLType::getX86_FP80Ty(gIR->context());
else
realTy = LLType::getDoubleTy(gIR->context());
LLType* voidPtrTy = rt_ptr(byteTy);
LLType* voidArrayTy = rt_array(byteTy);
LLType* voidArrayPtrTy = getPtrToType(voidArrayTy);