Changeset 37428 in webkit for trunk/JavaScriptCore/kjs/nodes.h


Ignore:
Timestamp:
Oct 8, 2008, 10:50:42 AM (17 years ago)
Author:
[email protected]
Message:

Roll out r37427 because it causes an infinite recursion loading about:blank.

https://bugs.webkit.org/show_bug.cgi?id=21476

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/nodes.h

    r37427 r37428  
    117117    };
    118118
    119     namespace DeclarationStacks {
     119    struct DeclarationStacks {
    120120        typedef Vector<Node*, 16> NodeStack;
    121         enum VarAttrs { IsConstant = 1, HasInitializer = 2 };
     121        enum { IsConstant = 1, HasInitializer = 2 } VarAttrs;
    122122        typedef Vector<std::pair<Identifier, unsigned>, 16> VarStack;
    123123        typedef Vector<RefPtr<FuncDeclNode>, 16> FunctionStack;
    124     }
     124
     125        DeclarationStacks(ExecState* e, NodeStack& n, VarStack& v, FunctionStack& f)
     126            : exec(e)
     127            , nodeStack(n)
     128            , varStack(v)
     129            , functionStack(f)
     130        {
     131        }
     132
     133        ExecState* exec;
     134        NodeStack& nodeStack;
     135        VarStack& varStack;
     136        FunctionStack& functionStack;
     137    };
    125138
    126139    struct SwitchInfo {
Note: See TracChangeset for help on using the changeset viewer.