mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
It's not necessary to check if a value is null before delete[].
llvm-svn: 55053
This commit is contained in:
parent
a5921219e5
commit
9a43334166
@ -106,7 +106,7 @@ APInt::APInt(const APInt& that)
|
||||
}
|
||||
|
||||
APInt::~APInt() {
|
||||
if (!isSingleWord() && pVal)
|
||||
if (!isSingleWord())
|
||||
delete [] pVal;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user