summaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LiveVariables.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-02-20 07:36:31 +0000
committerBill Wendling <isanbard@gmail.com>2008-02-20 07:36:31 +0000
commit420cdebbcb95f3881ab3518fd3bb670837669e43 (patch)
treec87900a8585278bf3c1457cee45a01116fc8ed23 /include/llvm/CodeGen/LiveVariables.h
parent178f20a685bb456444eb1989b91326690c42e421 (diff)
downloadexternal_llvm-420cdebbcb95f3881ab3518fd3bb670837669e43.zip
external_llvm-420cdebbcb95f3881ab3518fd3bb670837669e43.tar.gz
external_llvm-420cdebbcb95f3881ab3518fd3bb670837669e43.tar.bz2
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
Diffstat (limited to 'include/llvm/CodeGen/LiveVariables.h')
-rw-r--r--include/llvm/CodeGen/LiveVariables.h6
1 files changed, 3 insertions, 3 deletions
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<unsigned, 4> &SubKills);
bool HandlePhysRegKill(unsigned Reg, MachineInstr *MI);
void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);