[llvm-commits] [llvm] r170052 - /llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

Eli Bendersky eliben at google.com
Wed Dec 12 16:24:56 PST 2012


Author: eliben
Date: Wed Dec 12 18:24:56 2012
New Revision: 170052

URL: http://llvm.org/viewvc/llvm-project?rev=170052&view=rev
Log:
Fix a bogus comment

Modified:
    llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp?rev=170052&r1=170051&r2=170052&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp Wed Dec 12 18:24:56 2012
@@ -279,9 +279,9 @@
   Res.setOpcode(RelaxedOp);
 }
 
-/// writeNopData - Write optimal nops to the output file for the \p Count
-/// bytes.  This returns the number of bytes written.  It may return 0 if
-/// the \p Count is more than the maximum optimal nops.
+/// \brief Write a sequence of optimal nops to the output, covering \p Count
+/// bytes.
+/// \return - true on success, false on failure
 bool X86AsmBackend::writeNopData(uint64_t Count, MCObjectWriter *OW) const {
   static const uint8_t Nops[10][10] = {
     // nop





More information about the llvm-commits mailing list