Changeset 224277 in webkit
- Timestamp:
- Nov 1, 2017 6:31:36 AM (7 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r224276 r224277 1 2017-11-01 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Use LazyNeverDestroyed instead of DEFINE_GLOBAL 4 https://bugs.webkit.org/show_bug.cgi?id=174979 5 6 Reviewed by Yusuke Suzuki. 7 8 * config.h: Removed definitions of SKIP_STATIC_CONSTRUCTORS_ON_MSVC and SKIP_STATIC_CONSTRUCTORS_ON_GCC. 9 1 10 2017-10-27 Yusuke Suzuki <utatane.tea@gmail.com> 2 11 -
trunk/Source/JavaScriptCore/config.h
r218167 r224277 33 33 34 34 #include <wtf/DisallowCType.h> 35 36 #if COMPILER(MSVC)37 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 138 #else39 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 140 #endif -
trunk/Source/WTF/ChangeLog
r224192 r224277 1 2017-11-01 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Use LazyNeverDestroyed instead of DEFINE_GLOBAL 4 https://bugs.webkit.org/show_bug.cgi?id=174979 5 6 Reviewed by Yusuke Suzuki. 7 8 DEFINE_GLOBAL is not used anymore. Remove it. 9 10 * WTF.xcodeproj/project.pbxproj: Removed StaticConstructors.h 11 * config.h: Removed definitions of SKIP_STATIC_CONSTRUCTORS_ON_MSVC and SKIP_STATIC_CONSTRUCTORS_ON_GCC. 12 * wtf/CMakeLists.txt: Removed StaticConstructors.h 13 * wtf/StaticConstructors.h: Removed. 14 1 15 2017-10-30 Michael Catanzaro <mcatanzaro@igalia.com> 2 16 -
trunk/Source/WTF/WTF.xcodeproj/project.pbxproj
r224136 r224277 503 503 A8A4730E151A825B004123FF /* StackBounds.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StackBounds.cpp; sourceTree = "<group>"; }; 504 504 A8A4730F151A825B004123FF /* StackBounds.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StackBounds.h; sourceTree = "<group>"; }; 505 A8A47310151A825B004123FF /* StaticConstructors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StaticConstructors.h; sourceTree = "<group>"; };506 505 A8A47311151A825B004123FF /* StdLibExtras.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StdLibExtras.h; sourceTree = "<group>"; }; 507 506 A8A47313151A825B004123FF /* StringExtras.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringExtras.h; sourceTree = "<group>"; }; … … 990 989 313EDEC9778E49C9BEA91CFC /* StackTrace.cpp */, 991 990 EF7D6CD59D8642A8A0DA86AD /* StackTrace.h */, 992 A8A47310151A825B004123FF /* StaticConstructors.h */,993 991 A8A47311151A825B004123FF /* StdLibExtras.h */, 994 992 C4F8A93619C65EB400B2B15D /* Stopwatch.h */, -
trunk/Source/WTF/config.h
r218166 r224277 33 33 34 34 #include <wtf/DisallowCType.h> 35 36 #if COMPILER(MSVC)37 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 138 #else39 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 140 #endif -
trunk/Source/WTF/wtf/CMakeLists.txt
r222771 r224277 133 133 StackStats.h 134 134 StackTrace.h 135 StaticConstructors.h136 135 StdLibExtras.h 137 136 Stopwatch.h -
trunk/Source/WebCore/ChangeLog
r224275 r224277 1 2017-11-01 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Use LazyNeverDestroyed instead of DEFINE_GLOBAL 4 https://bugs.webkit.org/show_bug.cgi?id=174979 5 6 Reviewed by Yusuke Suzuki. 7 8 No new tests since there should be no behavioral change. 9 10 * DerivedSources.cpp: Remove the warning of StaticConstructors.h. 11 * WebCore.order: Removed 12 * config.h: Removed definitions of SKIP_STATIC_CONSTRUCTORS_ON_MSVC and SKIP_STATIC_CONSTRUCTORS_ON_GCC. 13 * dom/QualifiedName.cpp: 14 (WebCore::createQualifiedName): Deleted. 15 * dom/QualifiedName.h: Removed createQualifiedName. 16 * dom/make_names.pl: 17 (printCppHead): Do not include StaticConstructors.h. 18 1 19 2017-11-01 Michael Catanzaro <mcatanzaro@igalia.com> 2 20 -
trunk/Source/WebCore/DerivedSources.cpp
r222291 r224277 649 649 #include "JSXPathResult.cpp" 650 650 #include "JSXSLTProcessor.cpp" 651 652 // On MSVC, including StaticConstructors.h causes all global objects not to be653 // automatically initialized by the C runtime. This is useful in some specific654 // cases (e.g., the *Names.cpp files), but can be dangerous in others. We don't655 // want StaticConstructors.h to "pollute" all the source files we #include here656 // accidentally, so we'll throw an error whenever any file includes it.657 #ifdef StaticConstructors_h658 #error Do not include any file in DerivedSources.cpp that includes StaticConstructors.h659 #endif -
trunk/Source/WebCore/WebCore.order
r217371 r224277 886 886 __ZNK7WebCore9FrameTree6parentEv 887 887 __ZN7WebCore9HTMLNames4initEv 888 __ZN7WebCore19createQualifiedNameEPvPN3WTF10StringImplERKNS1_12AtomicStringE889 888 __ZN3WTF9HashTableIPN7WebCore13QualifiedName17QualifiedNameImplES4_NS_17IdentityExtractorENS1_17QualifiedNameHashENS1_23QualifiedNameHashTraitsES7_E16lookupForWritingINS_22IdentityHashTranslatorIS6_EES4_EENSt3__14pairIPS4_bEERKT0_ 890 889 __ZN3WTF9HashTableIPN7WebCore13QualifiedName17QualifiedNameImplES4_NS_17IdentityExtractorENS1_17QualifiedNameHashENS1_23QualifiedNameHashTraitsES7_E18addPassingHashCodeINS_24HashSetTranslatorAdapterINS1_25QNameComponentsTranslatorEEENS1_23QualifiedNameComponentsESD_EENS_18HashTableAddResultINS_17HashTableIteratorIS4_S4_S5_S6_S7_S7_EEEERKT0_RKT1_ … … 894 893 __ZN3WTF12StringHasher10hashMemoryILm24EEEjPKv 895 894 __ZN7WebCore25QNameComponentsTranslator9translateERPNS_13QualifiedName17QualifiedNameImplERKNS_23QualifiedNameComponentsEj 896 __ZN7WebCore19createQualifiedNameEPvPN3WTF10StringImplE897 895 __ZN7WebCore13QualifiedName4initEv 898 896 __ZN7WebCore17MediaFeatureNames4initEv -
trunk/Source/WebCore/config.h
r222148 r224277 72 72 #include <wtf/DisallowCType.h> 73 73 74 #if COMPILER(MSVC)75 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 176 #else77 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 178 #endif79 80 74 #if PLATFORM(WIN) 81 75 #if PLATFORM(WIN_CAIRO) -
trunk/Source/WebCore/dom/QualifiedName.cpp
r223314 r224277 70 70 } 71 71 72 void createQualifiedName(void* targetAddress, const StaticStringImpl* name, const AtomicString& nameNamespace)73 {74 new (NotNull, reinterpret_cast<void*>(targetAddress)) QualifiedName(nullAtom(), AtomicString(name), nameNamespace);75 72 } 76 77 void createQualifiedName(void* targetAddress, const StaticStringImpl* name)78 {79 new (NotNull, reinterpret_cast<void*>(targetAddress)) QualifiedName(nullAtom(), AtomicString(name), nullAtom());80 }81 82 } -
trunk/Source/WebCore/dom/QualifiedName.h
r223314 r224277 137 137 }; 138 138 139 void createQualifiedName(void* targetAddress, const StaticStringImpl* name);140 void createQualifiedName(void* targetAddress, const StaticStringImpl* name, const AtomicString& nameNamespace);141 142 139 inline String QualifiedName::toString() const 143 140 { -
trunk/Source/WebCore/dom/make_names.pl
r224213 r224277 137 137 138 138 for my $name (sort keys %parameters) { 139 # FIXME: Would like to use static_cast here, but there are differences in const140 # depending on whether SKIP_STATIC_CONSTRUCTORS_ON_GCC is used, so stick with a141 # C-style cast for now.142 139 print F " ${name}.construct(&${name}Data);\n"; 143 140 } … … 573 570 574 571 print F "#include \"${namespace}Names.h\"\n\n"; 575 print F "#include <wtf/StaticConstructors.h>\n";576 572 577 573 print F "namespace WebCore {\n\n";
Note: See TracChangeset
for help on using the changeset viewer.