diff options
Diffstat (limited to 'lib/MC/ConstantPools.cpp')
-rw-r--r-- | lib/MC/ConstantPools.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/MC/ConstantPools.cpp b/lib/MC/ConstantPools.cpp index ca5440237e49..18277a225640 100644 --- a/lib/MC/ConstantPools.cpp +++ b/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, |