JSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
Created attachment 122422 [details] Patch
Comment on attachment 122422 [details] Patch Clearing flags on attachment: 122422 Committed r104941: <http://trac.webkit.org/changeset/104941>
All reviewed patches have been landed. Closing bug.
By the way, another way to do this that might be less roundabout would be to add a function that does assignment for JSC::Weak. Something named “set” or “assign”. We’d use that instead of “construct and swap”. I have a possibly-unfounded suspicion move semantics in C++11 also would have helped do this in a more elegant way, but we can’t rely on that at this time.