Bug 142640

Summary: Use std::atomic for CodeBlock::m_visitAggregateHasBeenCalled
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, fpizlo, ggaren, mhahnenb, mmirman, msaboff
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
the patch. none

Mark Lam
Reported 2015-03-12 13:43:56 PDT
We used to spin our own compare and swap on a uint8_t. Now that we can use C++11, let's use std::atomic.
Attachments
the patch. (5.15 KB, patch)
2015-03-12 14:03 PDT, Mark Lam
no flags
Mark Lam
Comment 1 2015-03-12 14:03:45 PDT
Created attachment 248543 [details] the patch.
Mark Hahnenberg
Comment 2 2015-03-12 14:23:00 PDT
Comment on attachment 248543 [details] the patch. Seems reasonable to me.
WebKit Commit Bot
Comment 3 2015-03-12 15:15:03 PDT
Comment on attachment 248543 [details] the patch. Clearing flags on attachment: 248543 Committed r181456: <http://trac.webkit.org/changeset/181456>
WebKit Commit Bot
Comment 4 2015-03-12 15:15:07 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.