diff options
Diffstat (limited to 'include/llvm/IR/Value.h')
-rw-r--r-- | include/llvm/IR/Value.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/Value.h b/include/llvm/IR/Value.h index b7213a6..8217ef7 100644 --- a/include/llvm/IR/Value.h +++ b/include/llvm/IR/Value.h @@ -450,7 +450,7 @@ public: /// /// Test if this value is always a pointer to allocated and suitably aligned /// memory for a simple load or store. - bool isDereferenceablePointer(const DataLayout *DL = nullptr) const; + bool isDereferenceablePointer(const DataLayout &DL) const; /// \brief Translate PHI node to its predecessor from the given basic block. /// |