summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-08-08 18:27:36 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-08-08 18:27:36 +0000
commitdf005cbe198160b541d473ebe18aee3572d1cf16 (patch)
treee158a70cfc8b09d08c8911ab5378e5b50929c011 /llvm/lib/MC/MCELFStreamer.cpp
parent9bb8ef03a2bf081e26400a3b21e9ff476a22c88f (diff)
downloadbcm5719-llvm-df005cbe198160b541d473ebe18aee3572d1cf16.tar.gz
bcm5719-llvm-df005cbe198160b541d473ebe18aee3572d1cf16.zip
Fix some comment typos.
llvm-svn: 244402
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index fe9ac21e17f..7588ea38823 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -134,7 +134,7 @@ void MCELFStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
llvm_unreachable("invalid assembler flag!");
}
-// If bundle aligment is used and there are any instructions in the section, it
+// If bundle alignment is used and there are any instructions in the section, it
// needs to be aligned to at least the bundle size.
static void setSectionAlignmentForBundling(const MCAssembler &Assembler,
MCSection *Section) {
@@ -603,7 +603,7 @@ void MCELFStreamer::EmitBundleUnlock() {
report_fatal_error("Empty bundle-locked group is forbidden");
// When the -mc-relax-all flag is used, we emit instructions to fragments
- // stored on a stack. When the bundle unlock is emited, we pop a fragment
+ // stored on a stack. When the bundle unlock is emitted, we pop a fragment
// from the stack a merge it to the one below.
if (getAssembler().getRelaxAll()) {
assert(!BundleGroups.empty() && "There are no bundle groups");
OpenPOWER on IntegriCloud