summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2018-10-24 15:18:51 +0000
committerKrasimir Georgiev <krasimir@google.com>2018-10-24 15:18:51 +0000
commit09ea204964af51393078416a8668e402eb772263 (patch)
treeb77653a79f7c743b706d96fb1e5337cb0d3214df /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentd7babe4e1247ce6144b0c7e44ea762b476503254 (diff)
downloadbcm5719-llvm-09ea204964af51393078416a8668e402eb772263.tar.gz
bcm5719-llvm-09ea204964af51393078416a8668e402eb772263.zip
IR: Optimize FunctionType::get to perform one hash lookup instead of two, NFCI
Summary: This function was performing two hash lookups when a new function type was requested: first checking if it exists and second to insert it. This patch updates the function to perform a single hash lookup in this case by updating the value in the hash table in-place in case the function type was not there before. Reviewers: bkramer Reviewed By: bkramer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D53471 llvm-svn: 345151
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud