Ignore:
Timestamp:
Sep 9, 2012, 10:10:21 AM (13 years ago)
Author:
[email protected]
Message:

Rolled out <http://trac.webkit.org/changeset/127939> because it broke
fast/js/named-function-expression.html.

Refactored bytecode generator initialization to support moving captured vars around
https://bugs.webkit.org/show_bug.cgi?id=96159

Reviewed by Gavin Barraclough.

File:
1 edited

Legend:

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

    r127958 r127987  
    315315        if (*name == m_globalData->propertyNames->arguments)
    316316            usesArguments();
    317         m_scope.m_funcDeclarations->data.append(DeclarationStacks::FunctionDeclaration(decl->body()));
     317        m_scope.m_funcDeclarations->data.append(decl->body());
    318318        body->setLoc(bodyStartLine, bodyEndLine, location.column);
    319319        return decl;
     
    509509        if (m_globalData->propertyNames->arguments == *ident)
    510510            usesArguments();
    511         m_scope.m_varDeclarations->data.append(DeclarationStacks::VarDeclaration(ident, attrs));
     511        m_scope.m_varDeclarations->data.append(std::make_pair(ident, attrs));
    512512    }
    513513
Note: See TracChangeset for help on using the changeset viewer.