From dcf9c280ee50acebc418f94c2996be8b4fa13725 Mon Sep 17 00:00:00 2001 From: Evghenii Date: Thu, 31 Oct 2013 16:05:06 +0100 Subject: [PATCH] some cleaning --- type.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/type.cpp b/type.cpp index d311b210..d0dc0bd3 100644 --- a/type.cpp +++ b/type.cpp @@ -2942,15 +2942,7 @@ FunctionType::LLVMFunctionType(llvm::LLVMContext *ctx, bool removeMask) const { Assert(m->errorCount > 0); return NULL; } -#if 0 - if (g->target->isPTX() && g->target->getISA() != Target::NVPTX64 && isTask) - { - /* we pass struct of pointers to CUDALaunch */ - llvmArgTypes.push_back(llvm::PointerType::getUnqual(t)); - } - else -#endif - llvmArgTypes.push_back(t); + llvmArgTypes.push_back(t); } // And add the function mask, if asked for