diff options
| author | 2019-06-23 21:36:31 +0000 | |
|---|---|---|
| committer | 2019-06-23 21:36:31 +0000 | |
| commit | 23f101f37937a1bd4a29726cab2f76e0fb038b35 (patch) | |
| tree | f7da7d6b32c2e07114da399150bfa88d72187012 /gnu/llvm/lib/MC/ConstantPools.cpp | |
| parent | sort previous; ok deraadt (diff) | |
| download | wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.tar.xz wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.zip | |
Import LLVM 8.0.0 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/lib/MC/ConstantPools.cpp')
| -rw-r--r-- | gnu/llvm/lib/MC/ConstantPools.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/llvm/lib/MC/ConstantPools.cpp b/gnu/llvm/lib/MC/ConstantPools.cpp index ca5440237e4..18277a22564 100644 --- a/gnu/llvm/lib/MC/ConstantPools.cpp +++ b/gnu/llvm/lib/MC/ConstantPools.cpp @@ -97,16 +97,14 @@ void AssemblerConstantPools::emitAll(MCStreamer &Streamer) { void AssemblerConstantPools::emitForCurrentSection(MCStreamer &Streamer) { MCSection *Section = Streamer.getCurrentSectionOnly(); - if (ConstantPool *CP = getConstantPool(Section)) { + if (ConstantPool *CP = getConstantPool(Section)) emitConstantPool(Streamer, Section, *CP); - } } void AssemblerConstantPools::clearCacheForCurrentSection(MCStreamer &Streamer) { MCSection *Section = Streamer.getCurrentSectionOnly(); - if (ConstantPool *CP = getConstantPool(Section)) { + if (ConstantPool *CP = getConstantPool(Section)) CP->clearCache(); - } } const MCExpr *AssemblerConstantPools::addEntry(MCStreamer &Streamer, |
