Changeset 286070 in webkit
- Timestamp:
- Nov 19, 2021, 11:36:35 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
-
JSTests/ChangeLog (modified) (1 diff)
-
JSTests/stress/validate-assert-uid-is-not-index-or-it-is-symbol.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/dfg/DFGValidate.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r286069 r286070 1 2021-11-19 Saam Barati <sbarati@apple.com> 2 3 Fix assertion added in r285592 4 https://bugs.webkit.org/show_bug.cgi?id=233373 5 6 Reviewed by Keith Miller. 7 8 * stress/validate-assert-uid-is-not-index-or-it-is-symbol.js: Added. 9 (main.v11): 10 (main.v29): 11 (main): 12 1 13 2021-11-19 Joseph Griego <jgriego@igalia.com> 2 14 -
trunk/Source/JavaScriptCore/ChangeLog
r286069 r286070 1 2021-11-19 Saam Barati <sbarati@apple.com> 2 3 Fix assertion added in r285592 4 https://bugs.webkit.org/show_bug.cgi?id=233373 5 rdar://85451012 6 7 Reviewed by Keith Miller. 8 9 The assertion added in r285592 should not apply to Symbols. This patch 10 fixes that error. We don't care if a Symbol can be parsed as an index 11 since the string value in a Symbol is just its description, not the 12 actual property. 13 14 * dfg/DFGValidate.cpp: 15 1 16 2021-11-19 Joseph Griego <jgriego@igalia.com> 2 17 -
trunk/Source/JavaScriptCore/dfg/DFGValidate.cpp
r285592 r286070 239 239 if (node->hasCacheableIdentifier()) { 240 240 auto* uid = node->cacheableIdentifier().uid(); 241 VALIDATE((node), !parseIndex(*uid));241 VALIDATE((node), uid->isSymbol() || !parseIndex(*uid)); 242 242 } 243 243
Note:
See TracChangeset
for help on using the changeset viewer.