Constify a few things with DotDebugLocEntry.
[oota-llvm.git] / lib / MC / MCMachOStreamer.cpp
index f2fa37c0568079c1199929acb31b104d2f630143..4aa7648c807a1300edbf450ef122f6422ce962c0 100644 (file)
@@ -371,7 +371,7 @@ void MCMachOStreamer::EmitInstToData(const MCInst &Inst,
   SmallVector<MCFixup, 4> Fixups;
   SmallString<256> Code;
   raw_svector_ostream VecOS(Code);
-  getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups);
+  getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups, STI);
   VecOS.flush();
 
   // Add the fixups and data.