summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Disassembler
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-18 11:53:36 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-11-18 11:53:36 +0000
commitdcd8433597238c67b1298f3703a9f53fd482d68f (patch)
treeeb572212c480df444de81b80504bbc81631c3036 /llvm/lib/Target/Mips/Disassembler
parent5f7878964a5d264d1f460b653d7692e61727174a (diff)
downloadbcm5719-llvm-dcd8433597238c67b1298f3703a9f53fd482d68f.tar.gz
bcm5719-llvm-dcd8433597238c67b1298f3703a9f53fd482d68f.zip
Fix spelling mistakes in MIPS target comments. NFC.
Identified by Pedro Giffuni in PR27636. llvm-svn: 287338
Diffstat (limited to 'llvm/lib/Target/Mips/Disassembler')
-rw-r--r--llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
index c5a259b8ccf..f80efb18507 100644
--- a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
+++ b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
@@ -1044,7 +1044,7 @@ static DecodeStatus DecodeBlezGroupBranch(MCInst &MI, InsnType insn,
}
/// Read two bytes from the ArrayRef and return 16 bit halfword sorted
-/// according to the given endianess.
+/// according to the given endianness.
static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
uint64_t &Size, uint32_t &Insn,
bool IsBigEndian) {
@@ -1064,7 +1064,7 @@ static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
}
/// Read four bytes from the ArrayRef and return 32 bit word sorted
-/// according to the given endianess
+/// according to the given endianness.
static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
uint64_t &Size, uint32_t &Insn,
bool IsBigEndian, bool IsMicroMips) {
OpenPOWER on IntegriCloud