default: assert(0 && "Unknown value type!");
case MVT::i8:
case MVT::i16:
- case MVT::i32:
+ case MVT::i32: {
unsigned MaxNumIntRegs = (isFastCall ? 2 : FASTCC_NUM_INT_ARGS_INREGS);
if (NumIntRegs < MaxNumIntRegs) {
++NumIntRegs;
break;
}
- // Fall through
+ } // Fall through
case MVT::f32:
NumBytes += 4;
break;
default: assert(0 && "Unexpected ValueType for argument!");
case MVT::i8:
case MVT::i16:
- case MVT::i32:
+ case MVT::i32: {
unsigned MaxNumIntRegs = (isFastCall ? 2 : FASTCC_NUM_INT_ARGS_INREGS);
if (NumIntRegs < MaxNumIntRegs) {
RegsToPass.push_back(
++NumIntRegs;
break;
}
- // Fall through
+ } // Fall through
case MVT::f32: {
SDOperand PtrOff = DAG.getConstant(ArgOffset, getPointerTy());
PtrOff = DAG.getNode(ISD::ADD, getPointerTy(), StackPtr, PtrOff);