1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Squelch warnings about not returning a value

llvm-svn: 1173
This commit is contained in:
Chris Lattner 2001-11-07 13:49:12 +00:00
parent dc8f8a1ed4
commit bf8d5bd2f7

View File

@ -212,7 +212,7 @@ class UltraSparcRegInfo : public MachineRegInfo
case FloatCCRegClassID: return FloatCCRegType ;
default: assert( 0 && "Unknown reg class ID");
return 0;
}
}
@ -238,7 +238,7 @@ class UltraSparcRegInfo : public MachineRegInfo
case FloatCCRegClassID: return FloatCCRegType ;
default: assert( 0 && "Unknown reg class ID");
return 0;
}
}
@ -363,7 +363,7 @@ class UltraSparcRegInfo : public MachineRegInfo
return InvalidRegNum;
else
assert(0 && "Invalid register class or reg number");
return 0;
}
// given the unified register number, this gives the name
@ -380,6 +380,7 @@ class UltraSparcRegInfo : public MachineRegInfo
return "<*NoReg*>";
else
assert(0 && "Invalid register number");
return "";
}
inline unsigned int getRegNumInCallersWindow(int reg) {