Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r230264 - JSArray::appendMemcpy seems to be missing a barrier
https://bugs.webkit.org/show_bug.cgi?id=184290 Reviewed by Mark Lam. If you write to an array that may contain pointers and you didn't just allocate it, then you need to barrier right after. I don't know if this is really a bug - it's possible that all callers of appendMemcpy do things that obviate the need for this barrier. But these barriers are cheap, so we should do them if in doubt. * runtime/JSArray.cpp: (JSC::JSArray::appendMemcpy):
- Loading branch information
1 parent
4f64525
commit f963d0c
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters