[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

Misha Brukman brukman at cs.uiuc.edu
Mon Aug 18 09:33:03 PDT 2003


Changes in directory llvm/lib/Target:

TargetData.cpp updated: 1.36 -> 1.37

---
Log message:

Spell `necessary' correctly.


---
Diffs of the changes:

Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.36 llvm/lib/Target/TargetData.cpp:1.37
--- llvm/lib/Target/TargetData.cpp:1.36	Wed Jul 23 10:30:02 2003
+++ llvm/lib/Target/TargetData.cpp	Mon Aug 18 09:31:51 2003
@@ -15,7 +15,7 @@
 #include "llvm/DerivedTypes.h"
 #include "llvm/Constants.h"
 
-// Handle the Pass registration stuff neccesary to use TargetData's.
+// Handle the Pass registration stuff necessary to use TargetData's.
 namespace {
   // Register the default SparcV9 implementation...
   RegisterPass<TargetData> X("targetdata", "Target Data Layout");
@@ -45,7 +45,7 @@
     getTypeInfo(Ty, &TD, TySize, A);
     TyAlign = A;
 
-    // Add padding if neccesary to make the data element aligned properly...
+    // Add padding if necessary to make the data element aligned properly...
     if (StructSize % TyAlign != 0)
       StructSize = (StructSize/TyAlign + 1) * TyAlign;   // Add padding...
 





More information about the llvm-commits mailing list