forked from OSchip/llvm-project
[tsan] one more explicit memset in tsan rtl (to please gcc 4.8.2)
llvm-svn: 199216
This commit is contained in:
parent
aa2e61f3fc
commit
6e53cfc1ac
|
@ -82,7 +82,7 @@ class Vector {
|
||||||
EnsureSize(size);
|
EnsureSize(size);
|
||||||
if (old_size < size) {
|
if (old_size < size) {
|
||||||
for (uptr i = old_size; i < size; i++)
|
for (uptr i = old_size; i < size; i++)
|
||||||
begin_[i] = T();
|
internal_memset(&begin_[i], 0, sizeof(begin_[i]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue