Changeset 174121 in webkit
- Timestamp:
- Sep 30, 2014 2:02:47 PM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r174113 r174121 1 2014-09-30 Filip Pizlo <fpizlo@apple.com> 2 3 REGRESSION (r174025): Invalid cast in JSC::asString 4 https://bugs.webkit.org/show_bug.cgi?id=137224 5 6 Reviewed by Geoffrey Garen. 7 8 Store barrier elision in fixup depends on checking the type of the value being stored. It's very important that 9 when we speak of "the value being stored" we are really referring to the right value. 10 11 The bug here was that the PutClosureVar case was assuming that child2 is the value being stored. It's actually 12 child3. So we were incorrectly removing all barriers from PutClosureVar. 13 14 * dfg/DFGFixupPhase.cpp: 15 (JSC::DFG::FixupPhase::fixupNode): 16 1 17 2014-09-30 Brian J. Burg <burg@cs.washington.edu> 2 18 -
trunk/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
r174025 r174121 855 855 case PutClosureVar: { 856 856 fixEdge<KnownCellUse>(node->child1()); 857 insertStoreBarrier(m_indexInBlock, node->child1(), node->child 2());857 insertStoreBarrier(m_indexInBlock, node->child1(), node->child3()); 858 858 break; 859 859 }
Note: See TracChangeset
for help on using the changeset viewer.