[Webkit-unassigned] [Bug 84980] Random crashes in webkit if a compiler addresses C++ defect #391

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 14:03:18 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84980





--- Comment #4 from abaldeva at ea.com  2012-04-26 14:03:18 PST ---
(In reply to comment #3)
> I'll ask around, but my understanding is that the temporary does not go away when bound to a reference like this.
> 
> The reason to use this idiom is to avoid copying. How I read defect 391 is that resolving it guarantees that copy constructor won't be invoked (basically forcing compilers to make "const AtomicString& localName" more efficient than "AtomicString localName" in this example).

I think you might be right. I looked at generated code and it is possible that the new version of the compiler I have shipped with a bug while trying to fix other defect.

I'll post more info when I have it available.

Thanks.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list