diff options
-rw-r--r-- | lib/Target/Sparc/SparcV8ISelSimple.cpp | 4 | ||||
-rw-r--r-- | lib/Target/SparcV8/SparcV8ISelSimple.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/Sparc/SparcV8ISelSimple.cpp b/lib/Target/Sparc/SparcV8ISelSimple.cpp index d51fa1fbe9..ce91a37958 100644 --- a/lib/Target/Sparc/SparcV8ISelSimple.cpp +++ b/lib/Target/Sparc/SparcV8ISelSimple.cpp @@ -798,7 +798,7 @@ void V8ISel::visitCallInst(CallInst &I) { if (I.getType () == Type::VoidTy) return; unsigned DestReg = getReg (I); - switch (getClass (I.getType ())) { + switch (getClassB (I.getType ())) { case cByte: case cShort: case cInt: @@ -823,7 +823,7 @@ void V8ISel::visitCallInst(CallInst &I) { void V8ISel::visitReturnInst(ReturnInst &I) { if (I.getNumOperands () == 1) { unsigned RetValReg = getReg (I.getOperand (0)); - switch (getClass (I.getOperand (0)->getType ())) { + switch (getClassB (I.getOperand (0)->getType ())) { case cByte: case cShort: case cInt: diff --git a/lib/Target/SparcV8/SparcV8ISelSimple.cpp b/lib/Target/SparcV8/SparcV8ISelSimple.cpp index d51fa1fbe9..ce91a37958 100644 --- a/lib/Target/SparcV8/SparcV8ISelSimple.cpp +++ b/lib/Target/SparcV8/SparcV8ISelSimple.cpp @@ -798,7 +798,7 @@ void V8ISel::visitCallInst(CallInst &I) { if (I.getType () == Type::VoidTy) return; unsigned DestReg = getReg (I); - switch (getClass (I.getType ())) { + switch (getClassB (I.getType ())) { case cByte: case cShort: case cInt: @@ -823,7 +823,7 @@ void V8ISel::visitCallInst(CallInst &I) { void V8ISel::visitReturnInst(ReturnInst &I) { if (I.getNumOperands () == 1) { unsigned RetValReg = getReg (I.getOperand (0)); - switch (getClass (I.getOperand (0)->getType ())) { + switch (getClassB (I.getOperand (0)->getType ())) { case cByte: case cShort: case cInt: |