Constify a few things with DotDebugLocEntry.
[oota-llvm.git] / lib / MC / MCAssembler.cpp
index 10c35be83828e1e4c9720be6e70c378c167734ac..b8a4b438f6ccd3b6a1a9600e49a5a3d93f01508e 100644 (file)
@@ -875,7 +875,7 @@ bool MCAssembler::relaxInstruction(MCAsmLayout &Layout,
   SmallVector<MCFixup, 4> Fixups;
   SmallString<256> Code;
   raw_svector_ostream VecOS(Code);
-  getEmitter().EncodeInstruction(Relaxed, VecOS, Fixups);
+  getEmitter().EncodeInstruction(Relaxed, VecOS, Fixups, F.getSubtargetInfo());
   VecOS.flush();
 
   // Update the fragment.