diff options
author | Gabor Greif <ggreif@gmail.com> | 2007-07-09 12:00:59 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2007-07-09 12:00:59 +0000 |
commit | ef3d8362a35228aee4cef016cc5bfd716bd560e3 (patch) | |
tree | 83ac17867df384e2aa684ce1faea4accc9d7f60c /llvm/lib/ExecutionEngine | |
parent | 6c0bda829ee0e8076b263d0587d71255689434db (diff) | |
download | bcm5719-llvm-ef3d8362a35228aee4cef016cc5bfd716bd560e3.tar.gz bcm5719-llvm-ef3d8362a35228aee4cef016cc5bfd716bd560e3.zip |
fix typos
llvm-svn: 38453
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp index 840af5997a8..484af4868af 100644 --- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -146,7 +146,7 @@ FreeRangeHeader *FreeRangeHeader::AllocateBlock() { /// FreeBlock - Turn an allocated block into a free block, adjusting /// bits in the object headers, and adding an end of region memory block. -/// If possible, coallesce this block with neighboring blocks. Return the +/// If possible, coalesce this block with neighboring blocks. Return the /// FreeRangeHeader to allocate from. FreeRangeHeader *MemoryRangeHeader::FreeBlock(FreeRangeHeader *FreeList) { MemoryRangeHeader *FollowingBlock = &getBlockAfter(); @@ -159,7 +159,7 @@ FreeRangeHeader *MemoryRangeHeader::FreeBlock(FreeRangeHeader *FreeList) { if (!FollowingBlock->ThisAllocated) { FreeRangeHeader &FollowingFreeBlock = *(FreeRangeHeader *)FollowingBlock; // "FreeList" always needs to be a valid free block. If we're about to - // coallesce with it, update our notion of what the free list is. + // coalesce with it, update our notion of what the free list is. if (&FollowingFreeBlock == FreeList) { FreeList = FollowingFreeBlock.Next; FreeListToReturn = 0; @@ -171,12 +171,12 @@ FreeRangeHeader *MemoryRangeHeader::FreeBlock(FreeRangeHeader *FreeList) { BlockSize += FollowingFreeBlock.BlockSize; FollowingBlock = &FollowingFreeBlock.getBlockAfter(); - // Tell the block after the block we are coallescing that this block is + // Tell the block after the block we are coalescing that this block is // allocated. FollowingBlock->PrevAllocated = 1; } - assert(FollowingBlock->ThisAllocated && "Missed coallescing?"); + assert(FollowingBlock->ThisAllocated && "Missed coalescing?"); if (FreeRangeHeader *PrevFreeBlock = getFreeBlockBefore()) { PrevFreeBlock->GrowBlock(PrevFreeBlock->BlockSize + BlockSize); @@ -369,7 +369,7 @@ JITMemoryManager::JITMemoryManager(bool useGOT) { Mem2->Prev = Mem2; // Mem2 *is* the free list for now. Mem2->Next = Mem2; - /// Add a tiny allocated region so that Mem2 is never coallesced away. + /// Add a tiny allocated region so that Mem2 is never coalesced away. MemoryRangeHeader *Mem1 = (MemoryRangeHeader*)Mem2-1; Mem1->ThisAllocated = 1; Mem1->PrevAllocated = 0; |