some cleaning

This commit is contained in:
Evghenii
2013-10-31 16:05:06 +01:00
parent a2fd124997
commit dcf9c280ee

View File

@@ -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