aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-06-01 05:53:27 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-06-01 05:53:27 +0000
commit2675534b7f3a7652e2a0040f415c60557a84e3a8 (patch)
tree72002db17cea6c86b007b830eeb215c4f64a2178
parenta2e05ea997a0ffc1097d30a58c728b41b17d861e (diff)
Typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28617 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index a622e819fa..8608d43273 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -380,7 +380,7 @@ static unsigned AddLiveIn(MachineFunction &MF, unsigned PReg,
static void
HowToPassCCCArgument(MVT::ValueType ObjectVT, unsigned NumXMMRegs,
unsigned &ObjSize, unsigned &ObjXMMRegs) {
- NumXMMRegs = 0;
+ ObjXMMRegs = 0;
switch (ObjectVT) {
default: assert(0 && "Unhandled argument type!");
@@ -784,8 +784,8 @@ HowToPassFastCCArgument(MVT::ValueType ObjectVT,
unsigned &ObjSize, unsigned &ObjIntRegs,
unsigned &ObjXMMRegs) {
ObjSize = 0;
- NumIntRegs = 0;
- NumXMMRegs = 0;
+ ObjIntRegs = 0;
+ ObjXMMRegs = 0;
switch (ObjectVT) {
default: assert(0 && "Unhandled argument type!");