Changeset 235730 in webkit
- Timestamp:
- Sep 6, 2018, 1:11:57 AM (8 years ago)
- Location:
- branches/safari-606-branch
- Files:
-
- 1 added
- 3 edited
-
JSTests/ChangeLog (modified) (1 diff)
-
JSTests/stress/regress-189124.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-606-branch/JSTests/ChangeLog
r235728 r235730 1 2018-09-06 Babak Shafiei <bshafiei@apple.com> 2 3 Cherry-pick r235715. rdar://problem/44169344 4 5 JSPropertyNameEnumerator::visitChildren() needs to visit its m_cachedStructureID. 6 https://bugs.webkit.org/show_bug.cgi?id=189124 7 <rdar://problem/43863605> 8 9 Reviewed by Filip Pizlo. 10 11 JSTests: 12 13 * stress/regress-189124.js: Added. 14 15 Source/JavaScriptCore: 16 17 It is assumed that the Structure for the m_cachedStructureID will remain alive 18 while the m_cachedStructureID is in use. This prevents the structureID from being 19 re-used for a different Structure. 20 21 * runtime/JSPropertyNameEnumerator.cpp: 22 (JSC::JSPropertyNameEnumerator::visitChildren): 23 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235715 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2018-09-05 Mark Lam <mark.lam@apple.com> 29 30 JSPropertyNameEnumerator::visitChildren() needs to visit its m_cachedStructureID. 31 https://bugs.webkit.org/show_bug.cgi?id=189124 32 <rdar://problem/43863605> 33 34 Reviewed by Filip Pizlo. 35 36 * stress/regress-189124.js: Added. 37 1 38 2018-09-06 Babak Shafiei <bshafiei@apple.com> 2 39 -
branches/safari-606-branch/Source/JavaScriptCore/ChangeLog
r235728 r235730 1 2018-09-06 Babak Shafiei <bshafiei@apple.com> 2 3 Cherry-pick r235715. rdar://problem/44169344 4 5 JSPropertyNameEnumerator::visitChildren() needs to visit its m_cachedStructureID. 6 https://bugs.webkit.org/show_bug.cgi?id=189124 7 <rdar://problem/43863605> 8 9 Reviewed by Filip Pizlo. 10 11 JSTests: 12 13 * stress/regress-189124.js: Added. 14 15 Source/JavaScriptCore: 16 17 It is assumed that the Structure for the m_cachedStructureID will remain alive 18 while the m_cachedStructureID is in use. This prevents the structureID from being 19 re-used for a different Structure. 20 21 * runtime/JSPropertyNameEnumerator.cpp: 22 (JSC::JSPropertyNameEnumerator::visitChildren): 23 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235715 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2018-09-05 Mark Lam <mark.lam@apple.com> 29 30 JSPropertyNameEnumerator::visitChildren() needs to visit its m_cachedStructureID. 31 https://bugs.webkit.org/show_bug.cgi?id=189124 32 <rdar://problem/43863605> 33 34 Reviewed by Filip Pizlo. 35 36 It is assumed that the Structure for the m_cachedStructureID will remain alive 37 while the m_cachedStructureID is in use. This prevents the structureID from being 38 re-used for a different Structure. 39 40 * runtime/JSPropertyNameEnumerator.cpp: 41 (JSC::JSPropertyNameEnumerator::visitChildren): 42 1 43 2018-09-06 Babak Shafiei <bshafiei@apple.com> 2 44 -
branches/safari-606-branch/Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.cpp
r227906 r235730 1 1 /* 2 * Copyright (C) 2014-201 6Apple Inc. All rights reserved.2 * Copyright (C) 2014-2018 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 94 94 visitor.append(propertyName); 95 95 visitor.append(thisObject->m_prototypeChain); 96 97 VM& vm = visitor.vm(); 98 visitor.appendUnbarriered(vm.getStructure(thisObject->cachedStructureID())); 96 99 } 97 100
Note:
See TracChangeset
for help on using the changeset viewer.