diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-17 20:34:43 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-17 20:34:43 +0000 |
commit | 53ac3e9cf41b745a9ca41573ef94b6ebd0ec9c05 (patch) | |
tree | b4caf499604fdd14fb938a8af511264489d0a191 /test/LLVMC/NoCompilationGraph.td | |
parent | 90ca16b9cfe22e3713a6fd10d830abb2f6727252 (diff) | |
download | external_llvm-53ac3e9cf41b745a9ca41573ef94b6ebd0ec9c05.zip external_llvm-53ac3e9cf41b745a9ca41573ef94b6ebd0ec9c05.tar.gz external_llvm-53ac3e9cf41b745a9ca41573ef94b6ebd0ec9c05.tar.bz2 |
Add an RAII ScopedWriter, which allows one to acquire a writer lock for the duration of a scope. Simplify a lot of uses of
writer locks in Constants.cpp by using it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLVMC/NoCompilationGraph.td')
0 files changed, 0 insertions, 0 deletions