Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Assertion failure at JSC::Structure::checkOffsetConsistency() const +…
… 234. <https://webkit.org/b/133356> Reviewed by Mark Hahnenberg. Source/JavaScriptCore: The root cause of this issue is that a nonPropertyTransition can transition a pinned dictionary structure to an unpinned dictionary structure. The new structure will get a copy of the property table from the original structure. However, when a GC occurs, the property table in the new structure will be cleared because it is unpinned. This leads to complications in subsequent derivative structures when flattening occurs, which eventually leads to the assertion failure in this bug. The fix is to ensure that the new dictionary structure generated by the nonPropertyTransition will have a copy of its predecessor's property table and is pinned. * runtime/Structure.cpp: (JSC::Structure::nonPropertyTransition): LayoutTests: * TestExpectations: - Undoing expectation for js/primitive-property-access-edge-cases.html now that the bug is fixed. Canonical link: https://commits.webkit.org/151668@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Mark Lam
committed
Jun 10, 2014
1 parent
33b06a0
commit 17d9a4c
Showing
4 changed files
with
38 additions
and
4 deletions.
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
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