[llvm] r199288 - Fix uninitialized variable.
Rafael Espindola
rafael.espindola at gmail.com
Tue Jan 14 19:27:26 PST 2014
Author: rafael
Date: Tue Jan 14 21:27:26 2014
New Revision: 199288
URL: http://llvm.org/viewvc/llvm-project?rev=199288&view=rev
Log:
Fix uninitialized variable.
Modified:
llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp?rev=199288&r1=199287&r2=199288&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp Tue Jan 14 21:27:26 2014
@@ -65,7 +65,7 @@ void MipsTargetAsmStreamer::emitDirectiv
}
// This part is for ELF object output.
-MipsTargetELFStreamer::MipsTargetELFStreamer() {}
+MipsTargetELFStreamer::MipsTargetELFStreamer() : MicroMipsEnabled(false) {}
void MipsTargetELFStreamer::emitLabel(MCSymbol *Symbol) {
if (!isMicroMipsEnabled())
More information about the llvm-commits
mailing list