diff options
| author | Eric Christopher <echristo@gmail.com> | 2013-07-24 01:06:21 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2013-07-24 01:06:21 +0000 |
| commit | 8f1f2e6e295c4cdf649ce4f320b4f5de8c6d10d9 (patch) | |
| tree | 38723a9bdc4468e129eb7af3600d4dedebed2a3c /llvm/lib/IR | |
| parent | 9d9eee4c4e60e3e4f3a67ca0e1bebed605712b22 (diff) | |
| download | bcm5719-llvm-8f1f2e6e295c4cdf649ce4f320b4f5de8c6d10d9.tar.gz bcm5719-llvm-8f1f2e6e295c4cdf649ce4f320b4f5de8c6d10d9.zip | |
More constructor cleanup.
Move to a single constructor with a default argument and avoid
the check and nullification.
llvm-svn: 187014
Diffstat (limited to 'llvm/lib/IR')
| -rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index c78b8c21c8b..b99f6d551a0 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -344,12 +344,6 @@ bool DIDescriptor::isImportedEntity() const { // Simple Descriptor Constructors and other Methods //===----------------------------------------------------------------------===// -DIType::DIType(const MDNode *N) : DIScope(N) { - if (!N) return; - if (!isType()) - DbgNode = 0; -} - unsigned DIArray::getNumElements() const { if (!DbgNode) return 0; |

