Ugh, fix bugs. Ok, so the last fix wasn't as great as I thought it was.
Now we're back to: 131.730u, 0.330s, which is still quite an improvement, but still quite unacceptable llvm-svn: 8322
This commit is contained in:
		
							parent
							
								
									2a36482e74
								
							
						
					
					
						commit
						99b9ddead7
					
				| 
						 | 
				
			
			@ -372,6 +372,7 @@ PointerType::PointerType(const Type *E) : SequentialType(PointerTyID, E) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
OpaqueType::OpaqueType() : DerivedType(OpaqueTyID) {
 | 
			
		||||
  Recursive = false;
 | 
			
		||||
  setAbstract(true);
 | 
			
		||||
#ifdef DEBUG_MERGE_TYPES
 | 
			
		||||
  std::cerr << "Derived new type: " << getDescription() << "\n";
 | 
			
		||||
| 
						 | 
				
			
			@ -427,6 +428,8 @@ void DerivedType::setDerivedTypeProperties() {
 | 
			
		|||
  std::vector<const Type *> TypeStack;
 | 
			
		||||
  bool isAbstract = false, isRecursive = false;
 | 
			
		||||
 | 
			
		||||
  setAbstract(true);
 | 
			
		||||
  setRecursive(true);
 | 
			
		||||
  getTypeProps(this, TypeStack, isAbstract, isRecursive);
 | 
			
		||||
  setAbstract(isAbstract);
 | 
			
		||||
  setRecursive(isRecursive);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue