forked from OSchip/llvm-project
				
			[objc-arc-opts] Added debug statements when we set and unset whether a pointer is known positive.
llvm-svn: 181745
This commit is contained in:
		
							parent
							
								
									6afa8f1609
								
							
						
					
					
						commit
						f3f9e3b10a
					
				| 
						 | 
					@ -508,10 +508,12 @@ namespace {
 | 
				
			||||||
                 Seq(S_None) {}
 | 
					                 Seq(S_None) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void SetKnownPositiveRefCount() {
 | 
					    void SetKnownPositiveRefCount() {
 | 
				
			||||||
 | 
					      DEBUG(dbgs() << "Setting Known Positive.\n");
 | 
				
			||||||
      KnownPositiveRefCount = true;
 | 
					      KnownPositiveRefCount = true;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void ClearKnownPositiveRefCount() {
 | 
					    void ClearKnownPositiveRefCount() {
 | 
				
			||||||
 | 
					      DEBUG(dbgs() << "Clearing Known Positive.\n");
 | 
				
			||||||
      KnownPositiveRefCount = false;
 | 
					      KnownPositiveRefCount = false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue