Changeset 206955 in webkit


Ignore:
Timestamp:
Oct 8, 2016 11:32:12 AM (8 years ago)
Author:
sbarati@apple.com
Message:

HasIndexedProperty clobberize rule is wrong for Array::ForceOSRExit
https://bugs.webkit.org/show_bug.cgi?id=159942
<rdar://problem/27328836>

Reviewed by Filip Pizlo.

When HasIndexedProperty has a ForceOSRExit array mode, it should
report to write to side state, like the ForceOSRExit node, and the
other nodes with ForceOSRExit array mode.

  • dfg/DFGClobberize.h:

(JSC::DFG::clobberize):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r206948 r206955  
     12016-10-08  Saam Barati  <sbarati@apple.com>
     2
     3        HasIndexedProperty clobberize rule is wrong for Array::ForceOSRExit
     4        https://bugs.webkit.org/show_bug.cgi?id=159942
     5        <rdar://problem/27328836>
     6
     7        Reviewed by Filip Pizlo.
     8
     9        When HasIndexedProperty has a ForceOSRExit array mode, it should
     10        report to write to side state, like the ForceOSRExit node, and the
     11        other nodes with ForceOSRExit array mode.
     12
     13        * dfg/DFGClobberize.h:
     14        (JSC::DFG::clobberize):
     15
    1162016-10-07  Mark Lam  <mark.lam@apple.com>
    217
  • trunk/Source/JavaScriptCore/dfg/DFGClobberize.h

    r206853 r206955  
    263263        ArrayMode mode = node->arrayMode();
    264264        switch (mode.type()) {
     265        case Array::ForceExit: {
     266            write(SideState);
     267            return;
     268        }
    265269        case Array::Int32: {
    266270            if (mode.isInBounds()) {
Note: See TracChangeset for help on using the changeset viewer.