diff options
author | Rui Ueyama <ruiu@google.com> | 2017-08-17 00:27:55 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-08-17 00:27:55 +0000 |
commit | 314a0050024838aeba03dee7b1956cf622bd7bdb (patch) | |
tree | 6f158b7256f398d31867890bccc393e30483bfc5 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 42a535351e029d183be3f9cdf26663b90f3b2521 (diff) | |
download | llvm-314a0050024838aeba03dee7b1956cf622bd7bdb.zip llvm-314a0050024838aeba03dee7b1956cf622bd7bdb.tar.gz llvm-314a0050024838aeba03dee7b1956cf622bd7bdb.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions