Merge pull request #724 from Duta/patch-1

Minor fix in a comment
This commit is contained in:
Dmitry Babokin
2014-01-26 23:28:08 -08:00

View File

@@ -240,7 +240,7 @@ Function::emitCode(FunctionEmitContext *ctx, llvm::Function *function,
const FunctionType *type = CastType<FunctionType>(sym->type);
Assert(type != NULL);
if (type->isTask == true) {
// For tasks, we there should always be three parmeters: the
// For tasks, there should always be three parameters: the
// pointer to the structure that holds all of the arguments, the
// thread index, and the thread count variables.
llvm::Function::arg_iterator argIter = function->arg_begin();