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)
commit4031acb4cd21de716e317017d252bec145480fea
tree9b525c27d38a7b63d6395048548c8d96fc0d1dcf
parent163eb0990cc466396ea9beb9a481c941a978b62a
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211054 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/ExecutionEngine.h
lib/ExecutionEngine/ExecutionEngine.cpp