diff gen/functions.cpp @ 363:4d7495038ae8 trunk

[svn r384] Some minor code cleanups.
author lindquist
date Mon, 14 Jul 2008 21:49:54 +0200
parents 6057fdf797d8
children d8234836b40f
line wrap: on
line diff
--- a/gen/functions.cpp	Mon Jul 14 21:03:15 2008 +0200
+++ b/gen/functions.cpp	Mon Jul 14 21:49:54 2008 +0200
@@ -212,12 +212,6 @@
         return DtoVaFunctionType(fdecl);
     }
 
-    // unittest has null type, just build it manually
-    /*if (fdecl->isUnitTestDeclaration()) {
-        std::vector<const LLType*> args;
-        return llvm::FunctionType::get(LLType::VoidTy, args, false);
-    }*/
-
     // type has already been resolved
     if (fdecl->type->ir.type != 0) {
         return llvm::cast<llvm::FunctionType>(fdecl->type->ir.type->get());