fix comment typos
authorGabor Greif <ggreif@gmail.com>
Tue, 7 Sep 2010 06:06:06 +0000 (06:06 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 7 Sep 2010 06:06:06 +0000 (06:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113197 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/AsmMatcherEmitter.cpp

index 7079013a46878c8eccb266d6a93c290141d174a2..dae3d6ed4e3f826cd91ff839c523230183e8d5ca 100644 (file)
@@ -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.