Ignore:
Timestamp:
Nov 11, 2016, 8:50:57 AM (9 years ago)
Author:
Chris Dumez
Message:

Unreviewed, rolling out r208117 and r208160.

Regressed Speedometer by >1.5%

Reverted changesets:

"We should have a way of profiling when a get_by_id is pure
and to emit a PureGetById in the DFG/FTL"
https://bugs.webkit.org/show_bug.cgi?id=163305
http://trac.webkit.org/changeset/208117

"Debug JSC test microbenchmarks/pure-get-by-id-cse-2.js timing
out"
https://bugs.webkit.org/show_bug.cgi?id=164227
http://trac.webkit.org/changeset/208160

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGArrayMode.cpp

    r208377 r208588  
    153153static bool canBecomeGetArrayLength(Graph& graph, Node* node)
    154154{
    155     if (node->op() == GetById || node->op() == PureGetById) {
    156         auto uid = graph.identifiers()[node->identifierNumber()];
    157         return uid == graph.m_vm.propertyNames->length.impl();
    158     }
    159     return false;
     155    if (node->op() != GetById)
     156        return false;
     157    auto uid = graph.identifiers()[node->identifierNumber()];
     158    return uid == graph.m_vm.propertyNames->length.impl();
    160159}
    161160
Note: See TracChangeset for help on using the changeset viewer.