summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-09-07 06:06:06 +0000
committerGabor Greif <ggreif@gmail.com>2010-09-07 06:06:06 +0000
commite53ee3b112810068b8ca229aff211fc497069273 (patch)
treeee50db442852a983758240698e5f3b6c2226e0a0 /utils
parent198381e542320265e1c5fed18e938db3563a45bf (diff)
downloadllvm-e53ee3b112810068b8ca229aff211fc497069273.tar.gz
llvm-e53ee3b112810068b8ca229aff211fc497069273.tar.bz2
llvm-e53ee3b112810068b8ca229aff211fc497069273.tar.xz
fix comment typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/AsmMatcherEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp
index 7079013a46..dae3d6ed4e 100644
--- a/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/utils/TableGen/AsmMatcherEmitter.cpp
@@ -1709,7 +1709,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
<< "i != e; ++i)\n";
OS << " Classes[i] = InvalidMatchClass;\n\n";
- OS << " // Get the instruction mneumonic, which is the first token.\n";
+ OS << " // Get the instruction mnemonic, which is the first token.\n";
OS << " StringRef Mnemonic = ((" << Target.getName()
<< "Operand*)Operands[0])->getToken();\n\n";
@@ -1733,7 +1733,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
<< "*ie = MnemonicRange.second;\n";
OS << " it != ie; ++it) {\n";
- OS << " // equal_range guarantees that instruction mneumonic matches.\n";
+ OS << " // equal_range guarantees that instruction mnemonic matches.\n";
OS << " assert(Mnemonic == it->Mnemonic);\n";
// Emit check that the subclasses match.