aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/Disassembler
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2012-10-29 17:56:15 +0000
committerJoerg Sonnenberger <joerg@bec.de>2012-10-29 17:56:15 +0000
commit9cc1fad5ad645247080e22dec64128bec8054341 (patch)
tree3baa79b7aff06eaca923dbe16ae39e23d62f6485 /lib/Target/X86/Disassembler
parent573303e62a913ec881fde3434d7babed0bd4da33 (diff)
downloadexternal_llvm-9cc1fad5ad645247080e22dec64128bec8054341.zip
external_llvm-9cc1fad5ad645247080e22dec64128bec8054341.tar.gz
external_llvm-9cc1fad5ad645247080e22dec64128bec8054341.tar.bz2
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Disassembler')
-rw-r--r--lib/Target/X86/Disassembler/X86DisassemblerDecoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
index b24f517..85d8a99 100644
--- a/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
+++ b/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
@@ -694,7 +694,7 @@ static int getIDWithAttrMask(uint16_t* instructionID,
* @param orig - The instruction that is not 16-bit
* @param equiv - The instruction that is 16-bit
*/
-static BOOL is16BitEquvalent(const char* orig, const char* equiv) {
+static BOOL is16BitEquivalent(const char* orig, const char* equiv) {
off_t i;
for (i = 0;; i++) {
@@ -860,7 +860,7 @@ static int getID(struct InternalInstruction* insn, const void *miiArg) {
specWithOpSizeName =
x86DisassemblerGetInstrName(instructionIDWithOpsize, miiArg);
- if (is16BitEquvalent(specName, specWithOpSizeName)) {
+ if (is16BitEquivalent(specName, specWithOpSizeName)) {
insn->instructionID = instructionIDWithOpsize;
insn->spec = specifierForUID(instructionIDWithOpsize);
} else {