-
antonm@chromium.org authored
Reviewed by Adam Barth. [v8] Inline hot methods for V8 to WebCore and back conversions https://bugs.webkit.org/show_bug.cgi?id=45270 Inline fast paths of hot functions performing conversions from V8 wrappers to WebCore native objects and back. That slightly increases the size of binary (within 0.1% for both Ubuntu and Windows, but those builds are slightly different from official ones), but gives performance boost (3--5% on Windows, up to 8% on Ubuntu). * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/V8DOMWindowShell.cpp: (WebCore::V8DOMWindowShell::initContextIfNeeded): * bindings/v8/V8DOMWindowShell.h: * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getWrapperSlow): * bindings/v8/V8DOMWrapper.h: (WebCore::V8DOMWrapper::getWrapper): * bindings/v8/custom/V8NodeCustom.cpp: (WebCore::toV8Slow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f49851c9