PseudoSourceValue: Update comments and fix lowercase variable names. NFC.
[oota-llvm.git] / lib / Analysis / DependenceAnalysis.cpp
index 16e42ce623115e4198c3218a97aa7032d62a08ae..4ee82f0f134a582bdd01fba5dc47011d5e14ccf9 100644 (file)
@@ -631,8 +631,8 @@ static AliasResult underlyingObjectsAlias(AliasAnalysis *AA,
                                           const Value *B) {
   const Value *AObj = GetUnderlyingObject(A, DL);
   const Value *BObj = GetUnderlyingObject(B, DL);
-  return AA->alias(AObj, AA->getTypeStoreSize(AObj->getType()),
-                   BObj, AA->getTypeStoreSize(BObj->getType()));
+  return AA->alias(AObj, DL.getTypeStoreSize(AObj->getType()),
+                   BObj, DL.getTypeStoreSize(BObj->getType()));
 }