summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-02-05 16:53:11 +0000
committerEli Bendersky <eliben@google.com>2013-02-05 16:53:11 +0000
commit530a3bc5faa3e1008928cf59f15306265321132c (patch)
treefc894edda8dbeaf9278a5d5730ad652b93f05ff0 /llvm
parent6f635b5488172a5410e46661638de6f4994bd9dd (diff)
downloadbcm5719-llvm-530a3bc5faa3e1008928cf59f15306265321132c.tar.gz
bcm5719-llvm-530a3bc5faa3e1008928cf59f15306265321132c.zip
Fix comments
llvm-svn: 174390
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/X86CodeEmitter.cpp2
-rw-r--r--llvm/utils/TableGen/DAGISelMatcherEmitter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86CodeEmitter.cpp b/llvm/lib/Target/X86/X86CodeEmitter.cpp
index bc773343472..ece38aa3466 100644
--- a/llvm/lib/Target/X86/X86CodeEmitter.cpp
+++ b/llvm/lib/Target/X86/X86CodeEmitter.cpp
@@ -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);
diff --git a/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp b/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
index 4345708783d..93f84ce6e81 100644
--- a/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
+++ b/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
@@ -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,
OpenPOWER on IntegriCloud