UseListShuffleVector::~UseListShuffleVector(): Fix inappropriate delete. It should be delete[].

llvm-svn: 214174
This commit is contained in:
NAKAMURA Takumi 2014-07-29 09:54:35 +00:00
parent 1083eb5c11
commit 48df870d11
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public:
}
~UseListShuffleVector() {
if (!isSmall())
delete Storage.Ptr;
delete[] Storage.Ptr;
}
typedef unsigned *iterator;