aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/CBackend/CBackend.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-08-18 14:43:39 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-08-18 14:43:39 +0000
commit5560c9d49ccae132cabf1155f18aa0480dce3eda (patch)
tree8fd8c1924c3dd2243b805e6e4d076cbdc57855fb /lib/Target/CBackend/CBackend.cpp
parent00d7af60b0ac2e790b5be2821ccca895a00b0972 (diff)
Spell `necessary' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r--lib/Target/CBackend/CBackend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp
index 6a80019091..0443c18475 100644
--- a/lib/Target/CBackend/CBackend.cpp
+++ b/lib/Target/CBackend/CBackend.cpp
@@ -924,7 +924,7 @@ void CWriter::printFunction(Function *F) {
}
// Specific Instruction type classes... note that all of the casts are
-// neccesary because we use the instruction classes as opaque types...
+// necessary because we use the instruction classes as opaque types...
//
void CWriter::visitReturnInst(ReturnInst &I) {
// Don't output a void return if this is the last basic block in the function
@@ -1024,7 +1024,7 @@ void CWriter::visitBranchInst(BranchInst &I) {
printBranchToBlock(I.getParent(), I.getSuccessor(1), 2);
}
} else {
- // First goto not neccesary, assume second one is...
+ // First goto not necessary, assume second one is...
Out << " if (!";
writeOperand(I.getCondition());
Out << ") {\n";