diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2016-07-28 16:32:22 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2016-07-28 16:32:22 +0000 |
commit | 89217f8835ede9729f15698095fbf7264e8c16aa (patch) | |
tree | 6cf2319f72274abcf256235d6a302b9cc5bdf605 /llvm/lib/Target/PowerPC/PPCBranchSelector.cpp | |
parent | 655e0edfd701255e1894bd5fac6e8b3dde1ef4ad (diff) | |
download | bcm5719-llvm-89217f8835ede9729f15698095fbf7264e8c16aa.tar.gz bcm5719-llvm-89217f8835ede9729f15698095fbf7264e8c16aa.zip |
TargetInstrInfo: rename GetInstSizeInBytes to getInstSizeInBytes. NFC
Differential Revision: https://reviews.llvm.org/D22925
llvm-svn: 276997
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCBranchSelector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp index 69393040891..a7352a9074b 100644 --- a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -108,7 +108,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) { unsigned BlockSize = 0; for (MachineInstr &MI : *MBB) - BlockSize += TII->GetInstSizeInBytes(MI); + BlockSize += TII->getInstSizeInBytes(MI); BlockSizes[MBB->getNumber()] = BlockSize; FuncSize += BlockSize; @@ -155,7 +155,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) { Dest = I->getOperand(0).getMBB(); if (!Dest) { - MBBStartOffset += TII->GetInstSizeInBytes(*I); + MBBStartOffset += TII->getInstSizeInBytes(*I); continue; } |