diff options
author | Eli Bendersky <eliben@google.com> | 2012-12-13 00:24:56 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2012-12-13 00:24:56 +0000 |
commit | b2022f3a5a3908f6fd4c97cf76fc8cbe69a4c883 (patch) | |
tree | 5959deaf375c7a9eccc0ff1f9ce6fc3ddc49db7b /llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | |
parent | 36510f7194fe7dee32f3ed72c0bfee77ec3122eb (diff) | |
download | bcm5719-llvm-b2022f3a5a3908f6fd4c97cf76fc8cbe69a4c883.tar.gz bcm5719-llvm-b2022f3a5a3908f6fd4c97cf76fc8cbe69a4c883.zip |
Fix a bogus comment
llvm-svn: 170052
Diffstat (limited to 'llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp')
-rw-r--r-- | llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp index 467edadc7e0..5f2c75ed552 100644 --- a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp +++ b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp @@ -279,9 +279,9 @@ void X86AsmBackend::relaxInstruction(const MCInst &Inst, MCInst &Res) const { 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 |