WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
87550
Calls to weakCompareAndSwap() compile successfully but crash at runtime when COMPARE_AND_SWAP is not enabled
https://bugs.webkit.org/show_bug.cgi?id=87550
Summary
Calls to weakCompareAndSwap() compile successfully but crash at runtime when ...
mitz
Reported
2012-05-25 16:49:43 PDT
By definition, weakCompareAndSwap crashes if built when !ENABLE(COMPARE_AND_SWAP). It would be safer for the code to fail to compile in this case.
Attachments
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2012-05-25 16:51:39 PDT
It would be good to fix this. This would require making Bitmap somehow guard its calls to weakCompareAndSwap; right now it makes calls to weakCompareAndSwap by guarding them with a template enum parameter, and users to Bitmap configure that parameter accordingly. :-/
Csaba Osztrogonác
Comment 2
2015-09-24 06:54:33 PDT
There is no !ENABLE(COMPARE_AND_SWAP) since
https://trac.webkit.org/changeset/190103
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug