summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-09-19 17:33:55 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-09-19 17:33:55 +0000
commita7330ba5ac04eb0163ac6d5bcd5c59a71bcc107e (patch)
tree5c73515bccc647ed9d6b93413afc4b29e3f8b8a2 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent042acb2cf7384a011464551ed489a1a539509d66 (diff)
downloadbcm5719-llvm-a7330ba5ac04eb0163ac6d5bcd5c59a71bcc107e.tar.gz
bcm5719-llvm-a7330ba5ac04eb0163ac6d5bcd5c59a71bcc107e.zip
[RegisterBankInfo] Avoid heap allocation in most cases.
The OperandsMapper class is used heavy in RegBankSelect and each instantiation triggered a heap allocation for the array of operands. Instead, use a SmallVector with a big enough size such that most of the cases do not have to use dynamically allocated memory. This improves the compile time of the RegBankSelect pass. llvm-svn: 281916
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud