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

Description Mark Lam 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.
Comment 1 Mark Lam 2015-03-12 14:03:45 PDT
Created attachment 248543 [details]
the patch.
Comment 2 Mark Hahnenberg 2015-03-12 14:23:00 PDT
Comment on attachment 248543 [details]
the patch.

Seems reasonable to me.
Comment 3 WebKit Commit Bot 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>
Comment 4 WebKit Commit Bot 2015-03-12 15:15:07 PDT
All reviewed patches have been landed.  Closing bug.