Fix comments
authorEli Bendersky <eliben@google.com>
Tue, 5 Feb 2013 16:53:11 +0000 (16:53 +0000)
committerEli Bendersky <eliben@google.com>
Tue, 5 Feb 2013 16:53:11 +0000 (16:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174390 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86CodeEmitter.cpp
utils/TableGen/DAGISelMatcherEmitter.cpp

index bc7733434725142293a06efe690c15488a8e8214..ece38aa346618211666a2b8a6d718580b99dcab4 100644 (file)
@@ -124,7 +124,7 @@ template<class CodeEmitter>
 } // end anonymous namespace.
 
 /// createX86CodeEmitterPass - Return a pass that emits the collected X86 code
-/// to the specified templated MachineCodeEmitter object.
+/// to the specified JITCodeEmitter object.
 FunctionPass *llvm::createX86JITCodeEmitterPass(X86TargetMachine &TM,
                                                 JITCodeEmitter &JCE) {
   return new Emitter<JITCodeEmitter>(TM, JCE);
index 4345708783d507b98f4b1db34375fa1fe273a843..93f84ce6e81771a7fde82913323d8b155751eecc 100644 (file)
@@ -132,7 +132,7 @@ static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) {
   return NumBytes+1;
 }
 
-/// EmitMatcherOpcodes - Emit bytes for the specified matcher and return
+/// EmitMatcher - Emit bytes for the specified matcher and return
 /// the number of bytes emitted.
 unsigned MatcherTableEmitter::
 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,