Changeset 152742 in webkit
- Timestamp:
- Jul 16, 2013, 2:41:06 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r152736 r152742 1 2013-07-16 Filip Pizlo <fpizlo@apple.com> 2 3 MakeRope fixup shouldn't lead to an Identity without kids 4 https://bugs.webkit.org/show_bug.cgi?id=118745 5 6 Reviewed by Mark Hahnenberg. 7 8 * fast/js/dfg-make-rope-all-empty-strings.html: Added. 9 * fast/js/dfg-make-rope-all-empty-strings-expected.txt: Added. 10 * fast/js/jsc-test-list: 11 * fast/js/script-tests/dfg-make-rope-all-empty-strings.js: Added. 12 (foo): 13 (bar): 14 1 15 2013-07-16 Roger Fong <roger_fong@apple.com> 2 16 -
trunk/LayoutTests/fast/js/jsc-test-list
r150694 r152742 182 182 fast/js/dfg-intrinsic-unused-this 183 183 fast/js/dfg-intrinsic-unused-this-method-check 184 fast/js/dfg-make-rope-all-empty-strings 184 185 fast/js/dfg-max-backwards-propagation 185 186 fast/js/dfg-min-backwards-propagation -
trunk/Source/JavaScriptCore/ChangeLog
r152737 r152742 1 2013-07-16 Filip Pizlo <fpizlo@apple.com> 2 3 MakeRope fixup shouldn't lead to an Identity without kids 4 https://bugs.webkit.org/show_bug.cgi?id=118745 5 6 Reviewed by Mark Hahnenberg. 7 8 Make the empty string pruning part of fixupMakeRope() stop if it's on the last child. 9 10 Make Node::convertToIdentity release-assert that it has exactly one kid. 11 12 * dfg/DFGFixupPhase.cpp: 13 (JSC::DFG::FixupPhase::fixupMakeRope): 14 * dfg/DFGNode.h: 15 (JSC::DFG::Node::convertToIdentity): 16 1 17 2013-07-16 Mark Hahnenberg <mhahnenberg@apple.com> 2 18 -
trunk/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
r149395 r152742 961 961 if (string->length()) 962 962 continue; 963 964 // Don't allow the MakeRope to have zero children. 965 if (!i && !node->child2()) 966 break; 967 963 968 node->children.removeEdge(i--); 964 969 } -
trunk/Source/JavaScriptCore/dfg/DFGNode.h
r149152 r152742 222 222 void convertToIdentity() 223 223 { 224 RELEASE_ASSERT(child1()); 225 RELEASE_ASSERT(!child2()); 224 226 setOpAndDefaultNonExitFlags(Identity); 225 227 }
Note:
See TracChangeset
for help on using the changeset viewer.