Make isInt?? and isUint?? template specializations of the generic versions. This

makes calls a little bit more consistent and allows easy removal of the
specializations in the future. Convert all callers to the templated functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2010-03-29 21:13:41 +00:00
parent 31441b7e95
commit 34247a0f35
10 changed files with 71 additions and 61 deletions

View File

@ -130,7 +130,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) {
}
// If this branch is in range, ignore it.
if (isInt16(BranchSize)) {
if (isInt<16>(BranchSize)) {
MBBStartOffset += 4;
continue;
}