mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Spell `necessary' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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 @@ StructLayout::StructLayout(const StructType *ST, const TargetData &TD)
|
||||
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...
|
||||
|
||||
|
Reference in New Issue
Block a user