summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
-rw-r--r--llvm/lib/Support/APInt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index 80747fd12a9..3dcf84057bb 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -106,7 +106,7 @@ APInt::APInt(const APInt& that)
}
APInt::~APInt() {
- if (!isSingleWord() && pVal)
+ if (!isSingleWord())
delete [] pVal;
}
OpenPOWER on IntegriCloud