summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/EmitAssembly.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
commit7eb05a170a7fcd7d63ce12b6692c2e9e27631634 (patch)
tree640876643616502c9623ba5d14e021c7c88b9682 /llvm/lib/Target/Sparc/EmitAssembly.cpp
parent688d99fd9ceafc4d0b99501d1cf5d49892c44166 (diff)
downloadbcm5719-llvm-7eb05a170a7fcd7d63ce12b6692c2e9e27631634.tar.gz
bcm5719-llvm-7eb05a170a7fcd7d63ce12b6692c2e9e27631634.zip
Spell `necessary' correctly.
llvm-svn: 7944
Diffstat (limited to 'llvm/lib/Target/Sparc/EmitAssembly.cpp')
-rw-r--r--llvm/lib/Target/Sparc/EmitAssembly.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp
index 13b3c38c97b..3a9893162b8 100644
--- a/llvm/lib/Target/Sparc/EmitAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp
@@ -1,6 +1,6 @@
//===-- EmitAssembly.cpp - Emit Sparc Specific .s File ---------------------==//
//
-// This file implements all of the stuff neccesary to output a .s file from
+// This file implements all of the stuff necessary to output a .s file from
// LLVM. The code in this file assumes that the specified module has already
// been compiled into the internal data structures of the Module.
//
@@ -90,10 +90,10 @@ public:
}
// enterSection - Use this method to enter a different section of the output
- // executable. This is used to only output neccesary section transitions.
+ // executable. This is used to only output necessary section transitions.
//
void enterSection(enum Sections S) {
- if (S == CurSection) return; // Only switch section if neccesary
+ if (S == CurSection) return; // Only switch section if necessary
CurSection = S;
toAsm << "\n\t.section ";
OpenPOWER on IntegriCloud