aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2022-10-31 12:58:27 +0100
committerTimm Bäder <tbaeder@redhat.com>2022-11-07 09:42:41 +0100
commitc8341a66159703de242ab8de362b59548cdda71e (patch)
treedb5dbc39661c1dc737d3a7db6c7551ff779d9997 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent41fa7d2093e0b7ff5f729b318643e8e177778feb (diff)
downloadllvm-c8341a66159703de242ab8de362b59548cdda71e.zip
llvm-c8341a66159703de242ab8de362b59548cdda71e.tar.gz
llvm-c8341a66159703de242ab8de362b59548cdda71e.tar.bz2
[clang][Interp][NFC] Avoid a getSource() call in the common case
In the common (successful) case, we don't need the getSource() call, so move it to the two if statement bodies instead.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions