summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-17 21:54:18 +0000
committerZachary Turner <zturner@google.com>2014-06-17 21:54:18 +0000
commita9380b3efd16186df72cc0808e668f1e37162dcb (patch)
tree9737d0ea9868cdb56e82d0c70b0f51173b68d712 /llvm/lib/Target/X86/X86FastISel.cpp
parent0c7ebe9609e3f314d8289be100b31fe82600de5b (diff)
downloadbcm5719-llvm-a9380b3efd16186df72cc0808e668f1e37162dcb.tar.gz
bcm5719-llvm-a9380b3efd16186df72cc0808e668f1e37162dcb.zip
Remove more occurrences of the unused-mutex-parameter pattern.
This pattern loses some of its usefulness when the mutex type is statically polymorphic as opposed to runtime polymorphic, as swapping out the mutex type requires changing a significant number of function parameters, and templatizing the function parameter requires the methods to be defined in the headers. Furthermore, if LLVM is compiled with threads disabled then there may even be no mutex to acquire anyway, so it should not be up to individual APIs to know whether or not acquiring a mutex is required to use those APIs to begin with. It should be up to the user of the API. llvm-svn: 211125
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud