Skip to content
  • ap@webkit.org's avatar
    Reviewed by Geoffrey Garen. · 7f250f84
    ap@webkit.org authored
            Get rid of static data in nodes.cpp (well, at least of non-debug one).
    
            No measurable change on SunSpider.
    
            * kjs/InitializeThreading.cpp:
            (KJS::initializeThreadingOnce):
            * kjs/nodes.cpp:
            (KJS::newTrackedObjects):
            (KJS::trackedObjectExtraRefCounts):
            (KJS::initializeNodesThreading):
            (KJS::ParserRefCounted::ParserRefCounted):
            (KJS::ParserRefCounted::ref):
            (KJS::ParserRefCounted::deref):
            (KJS::ParserRefCounted::refcount):
            (KJS::ParserRefCounted::deleteNewObjects):
            * kjs/nodes.h:
            Made newTrackedObjects and trackedObjectExtraRefCounts per-thread.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7f250f84