llvm-svn: 27989
This commit is contained in:
Evan Cheng 2006-04-27 05:44:50 +00:00
parent 24eb3f4765
commit a0374e1bed
1 changed files with 1 additions and 1 deletions

View File

@ -825,7 +825,6 @@ X86TargetLowering::PreprocessFastCCArguments(std::vector<SDOperand>Args,
std::pair<FALocInfo,FALocInfo> Loc = std::make_pair(FALocInfo(),
FALocInfo());
if (ObjIntRegs) {
NumIntRegs += ObjIntRegs;
switch (ObjectVT) {
default: assert(0 && "Unhandled argument type!");
case MVT::i1:
@ -864,6 +863,7 @@ X86TargetLowering::PreprocessFastCCArguments(std::vector<SDOperand>Args,
}
break;
}
NumIntRegs += ObjIntRegs;
}
if (ObjSize) {
int FI = MFI->CreateFixedObject(ObjSize, ArgOffset);