[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp
Nick Lewycky
nicholas at mxc.ca
Wed Sep 20 19:08:45 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ISelLowering.cpp updated: 1.262 -> 1.263
---
Log message:
Fix compile error.
---
Diffs of the changes: (+4 -4)
X86ISelLowering.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.262 llvm/lib/Target/X86/X86ISelLowering.cpp:1.263
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.262 Wed Sep 20 17:03:51 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp Wed Sep 20 21:08:31 2006
@@ -1564,13 +1564,13 @@
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;
@@ -1618,7 +1618,7 @@
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(
@@ -1627,7 +1627,7 @@
++NumIntRegs;
break;
}
- // Fall through
+ } // Fall through
case MVT::f32: {
SDOperand PtrOff = DAG.getConstant(ArgOffset, getPointerTy());
PtrOff = DAG.getNode(ISD::ADD, getPointerTy(), StackPtr, PtrOff);
More information about the llvm-commits
mailing list