-
abarth@webkit.org authored
Reviewed by David Levin. [V8] Make Node wrappers go fast https://bugs.webkit.org/show_bug.cgi?id=27597 Profiles indicate we're spending a lot of time asking whether we're on the main thread when looking up DOM wrappers for Nodes, but there isn't much point in doing that work because Nodes only exist on the main thread. I've also added an assert to keep us honest in this regard. * bindings/v8/V8DOMMap.cpp: (WebCore::): (WebCore::getDOMNodeMap): (WebCore::DOMData::getCurrent): (WebCore::DOMData::getCurrentMainThread): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
312e3dd0