-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=121468 Reviewed by Sam Weinig. * bindings/scripts/StaticString.pm: (GenerateStrings): Eliminated the xxxImpl globals. We definitely did not need globals for these, much less read-write data. Instead, write the expression at each site where we need them. (GenerateStringAsserts): This is one such site (see above). * css/CSSSelector.cpp: (WebCore::populatePseudoTypeByNameMap): Mark this function NEVER_INLINE and add static to make sure the table ends up in read-only data. * dom/make_names.pl: (printDefinitions): Write the xxxImpl expression (see above). (printFactoryCppFile): Ditto. Also mark the populate function NEVER_INLINE and add static to make sure the table ends up in read-only data. (printWrapperFactoryCppFile): Ditto. * html/HTMLElement.cpp: (WebCore::populateEventNameForAttributeLocalNameMap): Mark this function NEVER_INLINE and add static to makes sure the table ends up in read-only data. * platform/text/UnicodeRange.cpp: Added a const to make this read-only data. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7e8a0c25