diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-29 21:13:41 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-29 21:13:41 +0000 |
commit | 2788f797ca429c57fce77449822c335d479e20d3 (patch) | |
tree | 3cac5f1ba5a000baede714beaf4838bdefe86d92 /llvm/lib/Target/PowerPC/PPCBranchSelector.cpp | |
parent | 4d1aa2a1c645f54b9faf7a427928f061c8ca58af (diff) | |
download | bcm5719-llvm-2788f797ca429c57fce77449822c335d479e20d3.tar.gz bcm5719-llvm-2788f797ca429c57fce77449822c335d479e20d3.zip |
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.
llvm-svn: 99838
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCBranchSelector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp index a752421580d..52948c868b9 100644 --- a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -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; } |