From 420cdebbcb95f3881ab3518fd3bb670837669e43 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 20 Feb 2008 07:36:31 +0000 Subject: More constification of things. More comments added. No functionality changes. (Sorry for any formatting changes that creeped in.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47362 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/LiveVariables.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/llvm/CodeGen/LiveVariables.h') diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h index 47b1b20..4a01fad 100644 --- a/include/llvm/CodeGen/LiveVariables.h +++ b/include/llvm/CodeGen/LiveVariables.h @@ -137,8 +137,8 @@ private: // Intermediate data structures // register references as presumed dead across basic blocks. MachineInstr **PhysRegInfo; - // PhysRegUsed - Keep track whether the physical register has been used after - // its last definition. This is local property. + // PhysRegUsed - Keep track of whether the physical register has been used + // after its last definition. This is local property. bool *PhysRegUsed; // PhysRegPartUse - Keep track of which instruction was the last partial use @@ -160,7 +160,7 @@ private: // Intermediate data structures /// HandlePhysRegKill - Add kills of Reg and its sub-registers to the /// uses. Pay special attention to the sub-register uses which may come below /// the last use of the whole register. - bool HandlePhysRegKill(unsigned Reg, MachineInstr *MI, + bool HandlePhysRegKill(unsigned Reg, const MachineInstr *MI, SmallSet &SubKills); bool HandlePhysRegKill(unsigned Reg, MachineInstr *MI); void HandlePhysRegUse(unsigned Reg, MachineInstr *MI); -- cgit v1.1