diff options
author | Timm Bäder <tbaeder@redhat.com> | 2022-10-31 12:58:27 +0100 |
---|---|---|
committer | Timm Bäder <tbaeder@redhat.com> | 2022-11-07 09:42:41 +0100 |
commit | c8341a66159703de242ab8de362b59548cdda71e (patch) | |
tree | db5dbc39661c1dc737d3a7db6c7551ff779d9997 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 41fa7d2093e0b7ff5f729b318643e8e177778feb (diff) | |
download | llvm-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