forked from OSchip/llvm-project
				
			
							parent
							
								
									e2fdf8d60e
								
							
						
					
					
						commit
						f8c028c0b0
					
				| 
						 | 
					@ -499,10 +499,9 @@ static inline bool isUnsafeMemoryObject(MachineInstr *MI,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  SmallVector<Value *, 4> Objs;
 | 
					  SmallVector<Value *, 4> Objs;
 | 
				
			||||||
  getUnderlyingObjects(V, Objs, DL);
 | 
					  getUnderlyingObjects(V, Objs, DL);
 | 
				
			||||||
  for (SmallVectorImpl<Value *>::iterator I = Objs.begin(),
 | 
					  for (Value *V : Objs) {
 | 
				
			||||||
         IE = Objs.end(); I != IE; ++I) {
 | 
					 | 
				
			||||||
    // Does this pointer refer to a distinct and identifiable object?
 | 
					    // Does this pointer refer to a distinct and identifiable object?
 | 
				
			||||||
    if (!isIdentifiedObject(*I))
 | 
					    if (!isIdentifiedObject(V))
 | 
				
			||||||
      return true;
 | 
					      return true;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue