[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 13:26:19 PDT 2012


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





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2012-04-26 13:26:19 PST ---
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).

-- 
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