diff options
Diffstat (limited to 'include/llvm/CodeGen/CalcSpillWeights.h')
-rw-r--r-- | include/llvm/CodeGen/CalcSpillWeights.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/CalcSpillWeights.h b/include/llvm/CodeGen/CalcSpillWeights.h index a47d847..240734f 100644 --- a/include/llvm/CodeGen/CalcSpillWeights.h +++ b/include/llvm/CodeGen/CalcSpillWeights.h @@ -32,10 +32,10 @@ namespace llvm { const MachineLoopInfo &loops) : mf_(mf), lis_(lis), loops_(loops) {} - /// CalculateRegClass - recompute the register class for li from its uses. + /// CalculateRegClass - recompute the register class for reg from its uses. /// Since the register class can affect the allocation hint, this function /// should be called before CalculateWeightAndHint if both are called. - void CalculateRegClass(LiveInterval &li); + void CalculateRegClass(unsigned reg); /// CalculateWeightAndHint - (re)compute li's spill weight and allocation /// hint. |