uselistorder: Pull the bit through WriteToBitcodFile()
[oota-llvm.git] / tools / llvm-as / llvm-as.cpp
index ae8ca569fd4964fb4825c61e45daccb956b7acd4..1d48596a24f37d2cc547853b47e1e4bdf61ffe5d 100644 (file)
@@ -79,7 +79,7 @@ static void WriteOutputFile(const Module *M) {
   }
 
   if (Force || !CheckBitcodeOutputToConsole(Out->os(), true))
-    WriteBitcodeToFile(M, Out->os());
+    WriteBitcodeToFile(M, Out->os(), shouldPreserveBitcodeUseListOrder());
 
   // Declare success.
   Out->keep();