Reviewed by Adam.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2007 22:21:24 +0000 (22:21 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2007 22:21:24 +0000 (22:21 +0000)
commit888580b4da8d8ba36329739cdef794cf3e00ffad
tree3b7c9eac60c76f43bee2325213a061feff74a056
parent3a5725bb668457a09a7eeef5102af228eede499f
    Reviewed by Adam.

        Make PropertyNameArray and ScopeChain COMEnumVariant friendly.

        * kjs/PropertyNameArray.cpp:
        (KJS::PropertyNameArray::swap):
        Implement PropertyNameArray::swap.

        * kjs/PropertyNameArray.h:
        Add ValueType typedef. Replace PropertyNameArrayIterator with
        PropertyNameArray::const_iterator.

        * kjs/nodes.cpp:
        (KJS::ForInNode::execute):
        * kjs/scope_chain.cpp:
        (KJS::ScopeChain::print):
        Update for changes to PropertyNameArray.

        * kjs/scope_chain.h:
        Add const_iterator and ValueType typedef.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/PropertyNameArray.cpp
JavaScriptCore/kjs/PropertyNameArray.h
JavaScriptCore/kjs/nodes.cpp
JavaScriptCore/kjs/scope_chain.cpp
JavaScriptCore/kjs/scope_chain.h