projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da3e76
)
Annotate vec::copy better for mem stats
author
Jan Hubicka
<jh@suse.cz>
Thu, 29 Oct 2020 17:03:29 +0000
(18:03 +0100)
committer
Jan Hubicka
<jh@suse.cz>
Thu, 29 Oct 2020 17:03:29 +0000
(18:03 +0100)
* vec.h (vec<T, va_heap, vl_ptr>::copy): Pass mem stat info.
gcc/vec.h
patch
|
blob
|
history
diff --git
a/gcc/vec.h
b/gcc/vec.h
index 3ad26972a62fd4b026956a6429ff69aed5d17b93..14d77e873427a06a55885bd98eae3529eb3796f9 100644
(file)
--- a/
gcc/vec.h
+++ b/
gcc/vec.h
@@
-1731,7
+1731,7
@@
vec<T, va_heap, vl_ptr>::copy (ALONE_MEM_STAT_DECL) const
{
vec<T, va_heap, vl_ptr> new_vec = vNULL;
if (length ())
- new_vec.m_vec = m_vec->copy ();
+ new_vec.m_vec = m_vec->copy (
ALONE_PASS_MEM_STAT
);
return new_vec;
}