01b443fdd3 
								
							 
						 
						
							
							
								
								Spelling fixes.  
							
							... 
							
							
							
							llvm-svn: 97454 
							
						 
						
							2010-03-01 17:51:02 +00:00  
				
					
						
							
							
								 
						
							
								9ace8b5763 
								
							 
						 
						
							
							
								
								Fix unit test on FreeBSD. We need to make sure there is enough space to save the pointer even if the memory returned from malloc was already aligned.  
							
							... 
							
							
							
							llvm-svn: 78805 
							
						 
						
							2009-08-12 12:31:02 +00:00  
				
					
						
							
							
								 
						
							
								4b1f2f4779 
								
							 
						 
						
							
							
								
								Added a test and fixed a bug in BumpPtrAllocator relating to large alignment  
							
							... 
							
							
							
							values.  Hopefully this fixes PR4622.
llvm-svn: 77088 
							
						 
						
							2009-07-25 21:26:02 +00:00  
				
					
						
							
							
								 
						
							
								c2d882dd1a 
								
							 
						 
						
							
							
								
								Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for  
							
							... 
							
							
							
							an off-by-one error.
llvm-svn: 76891 
							
						 
						
							2009-07-23 18:34:13 +00:00  
				
					
						
							
							
								 
						
							
								921673225c 
								
							 
						 
						
							
							
								
								Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset.  
							
							... 
							
							
							
							llvm-svn: 76838 
							
						 
						
							2009-07-23 01:40:54 +00:00  
				
					
						
							
							
								 
						
							
								5bd6105d65 
								
							 
						 
						
							
							
								
								Parameterize the BumpPtrAllocator over a slab allocator.  It defaults to using  
							
							... 
							
							
							
							malloc, so there should be no functional changes to other code.
These changes are necessary since I have plans to use this allocator in the JIT
memory manager, and it needs a special allocator.
I also added some tests which helped me pinpoint some bugs.
llvm-svn: 76825 
							
						 
						
							2009-07-23 00:30:41 +00:00