[llvm-commits] [llvm-gcc-4.2] r49234 - /llvm-gcc-4.2/trunk/gcc/llvm-abi.h

Duncan Sands baldrick at free.fr
Fri Apr 4 23:41:28 PDT 2008


Hi Devang,

> +// getLLVMAggregateTypeForStructReturn - Return LLVM type if TY can be

TY -> Ty

> +// returnes as multiple values, otherwise return NULL. This is the default

returnes -> returns

> +// target indepdendent implementation.

indepdendent -> independent

> +// LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if TY can be
> +// returned as a scalar, otherwise return NULL.
> +#ifndef LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN
> +#define LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN(X) \

The argument is X but the comment says TY.

> +// LLVM_AGGR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if TY can be 
> +// returned as an aggregate, otherwise return NULL.
> +#ifndef LLVM_AGGR_TYPE_FOR_STRUCT_RETURN
> +#define LLVM_AGGR_TYPE_FOR_STRUCT_RETURN(X) \

Likewise.

Ciao,

Duncan.




More information about the llvm-commits mailing list