Ignore:
Timestamp:
Mar 9, 2017, 4:53:09 PM (8 years ago)
Author:
[email protected]
Message:

Source/JavaScriptCore:
Add plumbing to WebProcess to enable JavaScriptCore configuration and logging
https://bugs.webkit.org/show_bug.cgi?id=169387

Reviewed by Filip Pizlo.

Added a helper function, processConfigFile(), to process configuration file.
Changed jsc.cpp to use that function in lieu of processing the config file
manually.

  • JavaScriptCore.xcodeproj/project.pbxproj: Made ConfigFile.h a private header file.
  • jsc.cpp:

(jscmain):

  • runtime/ConfigFile.cpp:

(JSC::processConfigFile):

  • runtime/ConfigFile.h:

Source/WebCore:
Add plumbing to WebProcess to enable JavaScriptCore configuration and logging
https://bugs.webkit.org/show_bug.cgi?id=169387

Reviewed by Filip Pizlo.

Added a forwarding header file for JavScriptCore/runtime/ConfigFile.h.

  • ForwardingHeaders/runtime/ConfigFile.h: Added.

Source/WebKit2:
<<<<<<< .mine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r213467 r213690  
    37853785    CommandLine options(argc, argv);
    37863786
    3787     if (Options::configFile()) {
    3788         ConfigFile configFile(Options::configFile());
    3789         configFile.setProcessName("jsc");
    3790         configFile.parse();
    3791     }
     3787    processConfigFile(Options::configFile(), "jsc");
    37923788
    37933789    // Initialize JSC before getting VM.
Note: See TracChangeset for help on using the changeset viewer.