2009-11-26 Anton Muhin <antonm@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Nov 2009 15:59:46 +0000 (15:59 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Nov 2009 15:59:46 +0000 (15:59 +0000)
commitcd69f17c81c0a0230bea82ea5376ca3af04ea31f
treea9ec6f0e6545a1c327a2f6b63602bcb5362a7fd8
parent25e5e72e1e2f76298779d294378db0f37f3427d3
2009-11-26  Anton Muhin  <antonm@chromium.org>

        Reviewed by Adam Barth.

        Use an internal field instead of hidden property to speedup lookup
        of entered isolated world.

        Plus some inlinings.
        https://bugs.webkit.org/show_bug.cgi?id=31884

        Covered by layout tests + manual running of some benchmarks as
        content scripts.

        * bindings/v8/V8DOMWrapper.cpp:
        * bindings/v8/V8DOMWrapper.h:
        (WebCore::V8DOMWrapper::setDOMWrapper):
        * bindings/v8/V8HiddenPropertyName.h:
        * bindings/v8/V8IsolatedWorld.cpp:
        (WebCore::V8IsolatedWorld::V8IsolatedWorld):
        * bindings/v8/V8IsolatedWorld.h:
        (WebCore::V8IsolatedWorld::getEntered):
        (WebCore::V8IsolatedWorld::getGlobalObject):
        * bindings/v8/custom/V8CustomBinding.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/v8/V8DOMWrapper.cpp
WebCore/bindings/v8/V8DOMWrapper.h
WebCore/bindings/v8/V8HiddenPropertyName.h
WebCore/bindings/v8/V8IsolatedWorld.cpp
WebCore/bindings/v8/V8IsolatedWorld.h
WebCore/bindings/v8/custom/V8CustomBinding.h