[llvm-commits] [llvm-gcc-4.2] r49252 - in /llvm-gcc-4.2/trunk/gcc: config/i386/llvm-i386-target.h llvm-abi.h llvm-convert.cpp llvm-types.cpp
Devang Patel
dpatel at apple.com
Sat Apr 5 10:34:14 PDT 2008
Author: dpatel
Date: Sat Apr 5 12:34:14 2008
New Revision: 49252
URL: http://llvm.org/viewvc/llvm-project?rev=49252&view=rev
Log:
Fix comments.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
llvm-gcc-4.2/trunk/gcc/llvm-abi.h
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h?rev=49252&r1=49251&r2=49252&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h Sat Apr 5 12:34:14 2008
@@ -100,14 +100,14 @@
extern bool llvm_x86_should_pass_vector_in_integer_regs(tree);
-/* LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if TY can be
+/* LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if X can be
returned as a scalar, otherwise return NULL. */
#define LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN(X) \
llvm_x86_scalar_type_for_struct_return(X)
extern const Type *llvm_x86_scalar_type_for_struct_return(const Type *Ty);
-/* LLVM_AGGR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if TY can be
+/* LLVM_AGGR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if X can be
returned as an aggregate, otherwise return NULL. */
#define LLVM_AGGR_TYPE_FOR_STRUCT_RETURN(X) \
llvm_x86_aggr_type_for_struct_return(X)
Modified: llvm-gcc-4.2/trunk/gcc/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-abi.h?rev=49252&r1=49251&r2=49252&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-abi.h (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-abi.h Sat Apr 5 12:34:14 2008
@@ -61,7 +61,7 @@
void HandleAggregateResultAsScalar(const Type *ScalarTy) {}
/// HandleAggregateResultAsAggregate - This callback is invoked if the function
- /// ruturns an aggregate value using multiple return values.
+ /// returns an aggregate value using multiple return values.
void HandleAggregateResultAsAggregate(const Type *AggrTy) {}
/// HandleAggregateShadowArgument - This callback is invoked if the function
@@ -205,7 +205,7 @@
}
// getLLVMAggregateTypeForStructReturn - Return LLVM type if TY can be
-// returnes as multiple values, otherwise return NULL. This is the default
+// returns as multiple values, otherwise return NULL. This is the default
// target indepdendent implementation.
static const Type* getLLVMAggregateTypeForStructReturn(const Type *Ty) {
return NULL;
@@ -282,14 +282,14 @@
#define LLVM_SHOULD_RETURN_VECTOR_AS_SHADOW(X,Y) 0
#endif
-// LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if TY can be
+// LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if X can be
// returned as a scalar, otherwise return NULL.
#ifndef LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN
#define LLVM_SCALAR_TYPE_FOR_STRUCT_RETURN(X) \
getLLVMScalarTypeForStructReturn(X)
#endif
-// LLVM_AGGR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if TY can be
+// LLVM_AGGR_TYPE_FOR_STRUCT_RETURN - Return LLVM Type if X can be
// returned as an aggregate, otherwise return NULL.
#ifndef LLVM_AGGR_TYPE_FOR_STRUCT_RETURN
#define LLVM_AGGR_TYPE_FOR_STRUCT_RETURN(X) \
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=49252&r1=49251&r2=49252&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Sat Apr 5 12:34:14 2008
@@ -2381,7 +2381,7 @@
}
/// HandleAggregateResultAsAggregate - This callback is invoked if the function
- /// ruturns an aggregate value using multiple return values.
+ /// returns an aggregate value using multiple return values.
void HandleAggregateResultAsAggregate(const Type *AggrTy) {
// There is nothing to do here.
}
Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-types.cpp?rev=49252&r1=49251&r2=49252&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-types.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Sat Apr 5 12:34:14 2008
@@ -955,7 +955,7 @@
}
/// HandleAggregateResultAsAggregate - This callback is invoked if the function
- /// ruturns an aggregate value using multiple return values.
+ /// returns an aggregate value using multiple return values.
void HandleAggregateResultAsAggregate(const Type *AggrTy) {
RetTy = AggrTy;
}
More information about the llvm-commits
mailing list