Ignore:
Timestamp:
Oct 10, 2014, 1:30:32 PM (11 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r174606.
https://bugs.webkit.org/show_bug.cgi?id=137621

broke a JSC test (Requested by estes on #webkit).

Reverted changeset:

"Various arguments optimisations in codegen fail to account
for arguments being in lexical record"
https://bugs.webkit.org/show_bug.cgi?id=137617
http://trac.webkit.org/changeset/174606

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/Parser.h

    r174606 r174610  
    280280    }
    281281
    282     void getCapturedVariables(IdentifierSet& capturedVariables, bool& modifiedParameter, bool& modifiedArguments)
     282    void getCapturedVariables(IdentifierSet& capturedVariables, bool& modifiedParameter)
    283283    {
    284284        if (m_needsFullActivation || m_usesEval) {
     
    293293        }
    294294        modifiedParameter = false;
    295         if (shadowsArguments())
    296             modifiedArguments = true;
    297295        if (m_declaredParameters.size()) {
    298296            IdentifierSet::iterator end = m_writtenVariables.end();
    299297            for (IdentifierSet::iterator ptr = m_writtenVariables.begin(); ptr != end; ++ptr) {
    300                 if (*ptr == m_vm->propertyNames->arguments.impl())
    301                     modifiedArguments = true;
    302298                if (!m_declaredParameters.contains(*ptr))
    303299                    continue;
Note: See TracChangeset for help on using the changeset viewer.