diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-07 03:22:32 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-07 03:22:32 +0000 |
commit | eea81f32cdd2f0408aaf83878cf45b5024cf6b57 (patch) | |
tree | f0a93dda31c2d090783aaa15b7647333919a3f79 /utils/TableGen/StringToOffsetTable.h | |
parent | f8cde7388eb96c59992bc4798ec9fca41ea1a13c (diff) |
Switch this code to use hash_combine_range rather than incremental calls
to hash_combine. One of the interfaces could already do this, and the
other can just use a small buffer. This is a much more efficient way to
use the hash_combine interface, although I don't have any particular
benchmark where this code was hot, so I can't measure much of an impact.
It at least doesn't slow anything down.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/StringToOffsetTable.h')
0 files changed, 0 insertions, 0 deletions