summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetInstrInfo.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2016-02-02 18:18:13 +0000
committerTamas Berghammer <tberghammer@google.com>2016-02-02 18:18:13 +0000
commit7a2a5ce0589f8ac9b5c6ca8e7bf202061f7565aa (patch)
treedd22431e98c74560b7f6a5aca84344dab7551e15 /llvm/lib/CodeGen/TargetInstrInfo.cpp
parentbbac6d7c1b510fe0b0f0923d4c5a15c41d9a5436 (diff)
downloadbcm5719-llvm-7a2a5ce0589f8ac9b5c6ca8e7bf202061f7565aa.tar.gz
bcm5719-llvm-7a2a5ce0589f8ac9b5c6ca8e7bf202061f7565aa.zip
[NFC] Cleanup RangeMap.h
The file contained very similar 4 implementation of the same data structure with a lot of duplicated code and some minor API differences. This CL refactor the class to eliminate the duplicated codes and to unify the APIs. RangeMap.h also contained a class called AddressDataArray what have very little added functionality over an std::vector and used only by ObjectFileMacO The CL moves the class to ObjectFileMachO.cpp as it isn't belongs into RangeMap.h and shouldn't be used in new places anyway because of the little added functionality. Differential revision: http://reviews.llvm.org/D16769 llvm-svn: 259538
Diffstat (limited to 'llvm/lib/CodeGen/TargetInstrInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud