mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
839a0159c4
commit
2f524587b6
@ -339,7 +339,8 @@ struct Formula {
|
||||
}
|
||||
|
||||
/// getNumRegs - Return the total number of register operands used by this
|
||||
/// formula.
|
||||
/// formula. This does not include register uses implied by non-constant
|
||||
/// addrec strides.
|
||||
unsigned Formula::getNumRegs() const {
|
||||
return !!ScaledReg + BaseRegs.size();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user