Skip to content
Commit 314a0050 authored by Rui Ueyama's avatar Rui Ueyama
Browse files

Remove a lock and use a std::unique_ptr instead.

We had a lock to guard BAlloc from being used concurrently, but that
is not very easy to understand. This patch replaces it with a
std::unique_ptr.

llvm-svn: 311056
parent 42a53535
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment