<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
-    void print(const LLVMContext &, raw_ostream &OS) const { print(OS); }<br>
+    //    void print(const LLVMContext &, raw_ostream &OS) const { print(OS); }<br></blockquote><div><br></div><div>Just noticed this and fixed. Sorry about the double commits here.</div><div><br></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
   };<br>
<br>
 } // end namespace llvm<br>
<br>
Modified: llvm/trunk/lib/CodeGen/<u></u>MachineInstr.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineInstr.cpp?rev=230700&r1=230699&r2=230700&view=diff" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project/llvm/trunk/lib/<u></u>CodeGen/MachineInstr.cpp?rev=<u></u>230700&r1=230699&r2=230700&<u></u>view=diff</a><br>
==============================<u></u>==============================<u></u>==================<br>
--- llvm/trunk/lib/CodeGen/<u></u>MachineInstr.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/<u></u>MachineInstr.cpp Thu Feb 26 17:32:17 2015<br>
@@ -1512,12 +1512,6 @@ void MachineInstr::dump() const {<br>
 #endif<br>
 }<br>
<br>
-static void printDebugLoc(DebugLoc DL, const MachineFunction *MF,<br>
-                         raw_ostream &CommentOS) {<br>
-  const LLVMContext &Ctx = MF->getFunction()->getContext(<u></u>);<br>
-  DL.print(Ctx, CommentOS);<br>
-}<br>
-<br>
 void MachineInstr::print(raw_<u></u>ostream &OS, const TargetMachine *TM,<br>
                          bool SkipOpers) const {<br>
   // We can be a bit tidier if we know the TargetMachine and/or MachineFunction.<br>
@@ -1738,7 +1732,7 @@ void MachineInstr::print(raw_<u></u>ostream &OS<br>
       DebugLoc InlinedAtDL = DebugLoc::getFromDILocation(<u></u>InlinedAt);<br>
       if (!InlinedAtDL.isUnknown() && MF) {<br>
         OS << " inlined @[ ";<br>
-        printDebugLoc(InlinedAtDL, MF, OS);<br>
+       InlinedAtDL.print(OS);<br>
         OS << " ]";<br>
       }<br>
     }<br>
@@ -1747,7 +1741,7 @@ void MachineInstr::print(raw_<u></u>ostream &OS<br>
   } else if (!debugLoc.isUnknown() && MF) {<br>
     if (!HaveSemi) OS << ";";<br>
     OS << " dbg:";<br>
-    printDebugLoc(debugLoc, MF, OS);<br>
+    debugLoc.print(OS);<br>
   }<br>
<br>
   OS << '\n';<br>
<br>
Modified: llvm/trunk/lib/Transforms/<u></u>Vectorize/LoopVectorize.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=230700&r1=230699&r2=230700&view=diff" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project/llvm/trunk/lib/<u></u>Transforms/Vectorize/<u></u>LoopVectorize.cpp?rev=230700&<u></u>r1=230699&r2=230700&view=diff</a><br>
==============================<u></u>==============================<u></u>==================<br>
--- llvm/trunk/lib/Transforms/<u></u>Vectorize/LoopVectorize.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/<u></u>Vectorize/LoopVectorize.cpp Thu Feb 26 17:32:17 2015<br>
@@ -488,7 +488,7 @@ static std::string getDebugLocString(con<br>
     raw_string_ostream OS(Result);<br>
     const DebugLoc LoopDbgLoc = L->getStartLoc();<br>
     if (!LoopDbgLoc.isUnknown())<br>
-      LoopDbgLoc.print(L->getHeader(<u></u>)->getContext(), OS);<br>
+      LoopDbgLoc.print(OS);<br>
     else<br>
       // Just print the module name.<br>
       OS << L->getHeader()->getParent()-><u></u>getParent()-><u></u>getModuleIdentifier();<br>
<br>
<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvm-commits</a><br>
</blockquote></div></div>