aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-12-13 00:24:56 +0000
committerEli Bendersky <eliben@google.com>2012-12-13 00:24:56 +0000
commite1d31008c9950ada1a92d0499acb001a2dd76a84 (patch)
treeee5cc931ab1ebb1734250ae4363a79b5824d58f6 /lib
parent807dad62a0d4f1a1bbcb76fdc447634f76308252 (diff)
downloadexternal_llvm-e1d31008c9950ada1a92d0499acb001a2dd76a84.zip
external_llvm-e1d31008c9950ada1a92d0499acb001a2dd76a84.tar.gz
external_llvm-e1d31008c9950ada1a92d0499acb001a2dd76a84.tar.bz2
Fix a bogus comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp b/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
index 467edad..5f2c75e 100644
--- a/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+++ b/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