Clean up some unnecessary mutex guards.
authorZachary Turner <zturner@google.com>
Mon, 16 Jun 2014 20:54:28 +0000 (20:54 +0000)
committerZachary Turner <zturner@google.com>
Mon, 16 Jun 2014 20:54:28 +0000 (20:54 +0000)
commit2f825df60b015ac84901018d478ffa5cfb424131
tree037a99bdad57967565b3c840e5daa8c184d75dcf
parentbf9effc73638b977bbd1410e8207b8de32dfb82c
Clean up some unnecessary mutex guards.

These were being used as unreferenced parameters to enforce that
the methods must not be called without holding a mutex, but all
of the methods in question were internal, and the methods were
only exposed through an interface whose entire purpose was to
serialize access to these structures, so expecting the methods
to be accessed under a mutex is reasonable enough.

Reviewed by: blaikie

Differential Revision: http://reviews.llvm.org/D4162

llvm-svn: 211054
llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
llvm/lib/ExecutionEngine/ExecutionEngine.cpp