Minor fix in a comment
This commit is contained in:
2
func.cpp
2
func.cpp
@@ -240,7 +240,7 @@ Function::emitCode(FunctionEmitContext *ctx, llvm::Function *function,
|
|||||||
const FunctionType *type = CastType<FunctionType>(sym->type);
|
const FunctionType *type = CastType<FunctionType>(sym->type);
|
||||||
Assert(type != NULL);
|
Assert(type != NULL);
|
||||||
if (type->isTask == true) {
|
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
|
// pointer to the structure that holds all of the arguments, the
|
||||||
// thread index, and the thread count variables.
|
// thread index, and the thread count variables.
|
||||||
llvm::Function::arg_iterator argIter = function->arg_begin();
|
llvm::Function::arg_iterator argIter = function->arg_begin();
|
||||||
|
|||||||
Reference in New Issue
Block a user