diff options
author | Amaury Sechet <deadalnix@gmail.com> | 2016-06-14 22:04:16 +0000 |
---|---|---|
committer | Amaury Sechet <deadalnix@gmail.com> | 2016-06-14 22:04:16 +0000 |
commit | 24c84fd1be63e3992ff3a017457a85b9ddacea52 (patch) | |
tree | 6cd6b8b41b0f6492fdf174c8b943d62595f6888e /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp | |
parent | 65c65ce897a3f23582a731533e9d283c1c70e508 (diff) | |
download | bcm5719-llvm-24c84fd1be63e3992ff3a017457a85b9ddacea52.tar.gz bcm5719-llvm-24c84fd1be63e3992ff3a017457a85b9ddacea52.zip |
Rename AttributeSetImpl::NumAttrs and AttributeSetImpl::getNumAttributes to reflect that they work on slots rather than attributes. NFC
Summary: The current naming not only doesn't convey the meaning of what this does, but worse, it convey the wrong meaning. This was a major source of confusion understanding the code, so I'm applying the boy scout rule here and making it better after I leave.
Reviewers: void, bkramer, whitequark
Differential Revision: http://reviews.llvm.org/D21264
llvm-svn: 272725
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions