[llvm-commits] [dragonegg] r92907 - /dragonegg/trunk/llvm-abi.h
Duncan Sands
baldrick at free.fr
Thu Jan 7 00:01:51 PST 2010
Author: baldrick
Date: Thu Jan 7 02:01:51 2010
New Revision: 92907
URL: http://llvm.org/viewvc/llvm-project?rev=92907&view=rev
Log:
Remove unused parameters.
Modified:
dragonegg/trunk/llvm-abi.h
Modified: dragonegg/trunk/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-abi.h?rev=92907&r1=92906&r2=92907&view=diff
==============================================================================
--- dragonegg/trunk/llvm-abi.h (original)
+++ dragonegg/trunk/llvm-abi.h Thu Jan 7 02:01:51 2010
@@ -463,7 +463,7 @@
ScalarElts.push_back(PtrTy);
} else if (isa<VectorType>(Ty)) {
if (LLVM_SHOULD_PASS_VECTOR_IN_INTEGER_REGS(type)) {
- PassInIntegerRegisters(type, Ty, ScalarElts, 0, false);
+ PassInIntegerRegisters(type, ScalarElts, 0, false);
} else if (LLVM_SHOULD_PASS_VECTOR_USING_BYVAL_ATTR(type)) {
C.HandleByValArgument(Ty, type);
if (Attributes) {
@@ -486,7 +486,7 @@
if (!LLVM_AGGREGATE_PARTIALLY_PASSED_IN_REGS(Elts, ScalarElts,
C.isShadowReturn(),
C.getCallingConv()))
- PassInMixedRegisters(type, Ty, Elts, ScalarElts);
+ PassInMixedRegisters(Ty, Elts, ScalarElts);
else {
C.HandleByValArgument(Ty, type);
if (Attributes) {
@@ -504,7 +504,7 @@
}
} else if (LLVM_SHOULD_PASS_AGGREGATE_IN_INTEGER_REGS(type, &Size,
&DontCheckAlignment)) {
- PassInIntegerRegisters(type, Ty, ScalarElts, Size, DontCheckAlignment);
+ PassInIntegerRegisters(type, ScalarElts, Size, DontCheckAlignment);
} else if (isZeroSizedStructOrUnion(type)) {
// Zero sized struct or union, just drop it!
;
@@ -599,8 +599,7 @@
/// PassInIntegerRegisters - Given an aggregate value that should be passed in
/// integer registers, convert it to a structure containing ints and pass all
/// of the struct elements in. If Size is set we pass only that many bytes.
- void PassInIntegerRegisters(tree type, const Type *Ty,
- std::vector<const Type*> &ScalarElts,
+ void PassInIntegerRegisters(tree type, std::vector<const Type*> &ScalarElts,
unsigned origSize, bool DontCheckAlignment) {
unsigned Size;
if (origSize)
@@ -673,8 +672,7 @@
/// PassInMixedRegisters - Given an aggregate value that should be passed in
/// mixed integer, floating point, and vector registers, convert it to a
/// structure containing the specified struct elements in.
- void PassInMixedRegisters(tree type, const Type *Ty,
- std::vector<const Type*> &OrigElts,
+ void PassInMixedRegisters(const Type *Ty, std::vector<const Type*> &OrigElts,
std::vector<const Type*> &ScalarElts) {
// We use VoidTy in OrigElts to mean "this is a word in the aggregate
// that occupies storage but has no useful information, and is not passed
@@ -847,7 +845,7 @@
}
} else if (isa<VectorType>(Ty)) {
if (LLVM_SHOULD_PASS_VECTOR_IN_INTEGER_REGS(type)) {
- PassInIntegerRegisters(type, Ty, ScalarElts, 0, false);
+ PassInIntegerRegisters(type, ScalarElts, 0, false);
} else if (LLVM_SHOULD_PASS_VECTOR_USING_BYVAL_ATTR(type)) {
C.HandleByValArgument(Ty, type);
if (Attributes) {
@@ -967,7 +965,7 @@
*Attributes |= Attr;
}
- PassInMixedRegisters(type, Ty, Elts, ScalarElts);
+ PassInMixedRegisters(Ty, Elts, ScalarElts);
} else if (LLVM_SHOULD_PASS_AGGREGATE_USING_BYVAL_ATTR(type, Ty)) {
C.HandleByValArgument(Ty, type);
if (Attributes) {
@@ -1044,8 +1042,7 @@
/// of the struct elements in. If Size is set we pass only that many bytes.
///
/// This is the default implementation which was copied from DefaultABI.
- void PassInIntegerRegisters(tree type, const Type *Ty,
- std::vector<const Type*> &ScalarElts,
+ void PassInIntegerRegisters(tree type, std::vector<const Type*> &ScalarElts,
unsigned origSize, bool DontCheckAlignment) {
unsigned Size;
if (origSize)
@@ -1120,8 +1117,7 @@
/// structure containing the specified struct elements in.
///
/// This is the default implementation which was copied from DefaultABI.
- void PassInMixedRegisters(tree type, const Type *Ty,
- std::vector<const Type*> &OrigElts,
+ void PassInMixedRegisters(const Type *Ty, std::vector<const Type*> &OrigElts,
std::vector<const Type*> &ScalarElts) {
// We use VoidTy in OrigElts to mean "this is a word in the aggregate
// that occupies storage but has no useful information, and is not passed
More information about the llvm-commits
mailing list