forked from OSchip/llvm-project
UseListShuffleVector::~UseListShuffleVector(): Fix inappropriate delete. It should be delete[].
llvm-svn: 214174
This commit is contained in:
parent
1083eb5c11
commit
48df870d11
|
@ -54,7 +54,7 @@ public:
|
|||
}
|
||||
~UseListShuffleVector() {
|
||||
if (!isSmall())
|
||||
delete Storage.Ptr;
|
||||
delete[] Storage.Ptr;
|
||||
}
|
||||
|
||||
typedef unsigned *iterator;
|
||||
|
|
Loading…
Reference in New Issue