DataLayout is mandatory, update the API to reflect it with references.
[oota-llvm.git] / include / llvm / Transforms / IPO / LowerBitSets.h
index 9110dac985642c7dfd3c273c06a40b31434b6e2b..55d7d84560a0c1625a55c2390c2b54a6ab05ce0d 100644 (file)
@@ -54,7 +54,7 @@ struct BitSetInfo {
 
   bool containsGlobalOffset(uint64_t Offset) const;
 
-  bool containsValue(const DataLayout *DL,
+  bool containsValue(const DataLayout &DL,
                      const DenseMap<GlobalVariable *, uint64_t> &GlobalLayout,
                      Value *V, uint64_t COffset = 0) const;
 };