Changeset 263616 in webkit for trunk/Source/JavaScriptCore/shell
- Timestamp:
- Jun 27, 2020, 7:18:34 AM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore/shell/playstation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/shell/playstation/Initializer.cpp
r262096 r263616 45 45 loadLibraryOrExit("PosixWebKit"); 46 46 loadLibraryOrExit("libJavaScriptCore"); 47 loadLibraryOrExit("libicu"); 47 48 } -
trunk/Source/JavaScriptCore/shell/playstation/TestShell.cpp
r263575 r263616 26 26 #include "../jsc.cpp" 27 27 28 #include <wtf/Language.h> 29 30 #define STATIC_OPTION(type_, name_, defaultValue_, availability_, description_) \ 31 static OptionsStorage::type_ orig##name_; 32 FOR_EACH_JSC_OPTION(STATIC_OPTION) 33 #undef STATIC_OPTION 34 28 35 extern "C" void setupTestRun() 29 36 { 37 CommandLine options(0, nullptr); 38 #define STATIC_OPTION(type_, name_, defaultValue_, availability_, description_) \ 39 orig##name_ = JSC::Options::name_(); 40 FOR_EACH_JSC_OPTION(STATIC_OPTION) 41 #undef STATIC_OPTION 42 30 43 // Need to initialize WTF threading before we start any threads. Cannot initialize JSC 31 44 // threading yet, since that would do somethings that we'd like to defer until after we … … 47 60 { 48 61 #define INIT_OPTION(type_, name_, defaultValue_, availability_, description_) \ 49 JSC::Options::name_() = JSC::Options::name_##Default();62 JSC::Options::name_() = orig##name_; 50 63 FOR_EACH_JSC_OPTION(INIT_OPTION) 51 64 #undef INIT_OPTION 65 overrideUserPreferredLanguages(platformUserPreferredLanguages()); 52 66 } 53 67
Note:
See TracChangeset
for help on using the changeset viewer.