⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 237494 in webkit


Ignore:
Timestamp:
Oct 27, 2018, 2:17:21 PM (8 years ago)
Author:
Adrian Perez de Castro
Message:

Merged r235177 - The DFG CFGSimplification phase shouldn’t jettison a block when it’s the target of both branch directions.
​https://bugs.webkit.org/show_bug.cgi?id=188298
<rdar://problem/42888427>

Reviewed by Saam Barati.

JSTests:

  • stress/bug-188298.js: Added.

Source/JavaScriptCore:

In the event that both targets of a Branch is the same block, then even if we'll
always take one path of the branch, the other target is not unreachable because
it is the same target as the one in the taken path. Hence, it should not be
jettisoned.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • Added DFGCFG.h which is in use and should have been added to the project.
  • dfg/DFGCFGSimplificationPhase.cpp:

(JSC::DFG::CFGSimplificationPhase::run):

Location:
releases/WebKitGTK/webkit-2.22
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.22/JSTests/ChangeLog

    r236249 r237494  
     12018-08-22  Mark Lam  <mark.lam@apple.com>
     2
     3        The DFG CFGSimplification phase shouldn’t jettison a block when it’s the target of both branch directions.
     4        https://bugs.webkit.org/show_bug.cgi?id=188298
     5        <rdar://problem/42888427>
     6
     7        Reviewed by Saam Barati.
     8
     9        * stress/bug-188298.js: Added.
     10
    1112018-09-19  Saam barati  <sbarati@apple.com>
    212
  • releases/WebKitGTK/webkit-2.22/Source/JavaScriptCore/ChangeLog

    r236328 r237494  
     12018-08-22  Mark Lam  <mark.lam@apple.com>
     2
     3        The DFG CFGSimplification phase shouldn’t jettison a block when it’s the target of both branch directions.
     4        https://bugs.webkit.org/show_bug.cgi?id=188298
     5        <rdar://problem/42888427>
     6
     7        Reviewed by Saam Barati.
     8
     9        In the event that both targets of a Branch is the same block, then even if we'll
     10        always take one path of the branch, the other target is not unreachable because
     11        it is the same target as the one in the taken path.  Hence, it should not be
     12        jettisoned.
     13
     14        * JavaScriptCore.xcodeproj/project.pbxproj:
     15        - Added DFGCFG.h which is in use and should have been added to the project.
     16        * dfg/DFGCFGSimplificationPhase.cpp:
     17        (JSC::DFG::CFGSimplificationPhase::run):
     18
    1192018-09-21  Tomas Popela  <tpopela@redhat.com>
    220
Note: See TracChangeset for help on using the changeset viewer.