aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-09-24 06:57:37 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-10-05 15:24:52 +0200
commita0ed71ff293b4ca4895fa5d184a008d048ea6fb1 (patch)
tree5566edf531a0dc954c59bed1a194622a8bd681f8 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentf4f9ad0f5d8e8994c677c3712dff7585bf8bd963 (diff)
downloadllvm-a0ed71ff293b4ca4895fa5d184a008d048ea6fb1.zip
llvm-a0ed71ff293b4ca4895fa5d184a008d048ea6fb1.tar.gz
llvm-a0ed71ff293b4ca4895fa5d184a008d048ea6fb1.tar.bz2
tsan: make cur_thread_init return cur_thread
Whenever we call cur_thread_init, we call cur_thread on the next line. So make cur_thread_init return the current thread directly. Makes code a bit shorter, does not affect codegen. Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D110384
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions