Title: [250021] trunk/Source/_javascript_Core
- Revision
- 250021
- Author
- [email protected]
- Date
- 2019-09-17 20:23:28 -0700 (Tue, 17 Sep 2019)
Log Message
Move comment explaining our Options to OptionsList.h
https://bugs.webkit.org/show_bug.cgi?id=201891
Rubber-stamped by Mark Lam.
We moved the list so we should move the comment.
* runtime/Options.h:
* runtime/OptionsList.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (250020 => 250021)
--- trunk/Source/_javascript_Core/ChangeLog 2019-09-18 02:48:09 UTC (rev 250020)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-09-18 03:23:28 UTC (rev 250021)
@@ -1,5 +1,17 @@
2019-09-17 Keith Miller <[email protected]>
+ Move comment explaining our Options to OptionsList.h
+ https://bugs.webkit.org/show_bug.cgi?id=201891
+
+ Rubber-stamped by Mark Lam.
+
+ We moved the list so we should move the comment.
+
+ * runtime/Options.h:
+ * runtime/OptionsList.h:
+
+2019-09-17 Keith Miller <[email protected]>
+
Elide unnecessary moves in Air O0
https://bugs.webkit.org/show_bug.cgi?id=201703
Modified: trunk/Source/_javascript_Core/runtime/Options.h (250020 => 250021)
--- trunk/Source/_javascript_Core/runtime/Options.h 2019-09-18 02:48:09 UTC (rev 250020)
+++ trunk/Source/_javascript_Core/runtime/Options.h 2019-09-18 03:23:28 UTC (rev 250021)
@@ -39,34 +39,6 @@
namespace JSC {
-// How do JSC VM options work?
-// ===========================
-// The FOR_EACH_JSC_OPTION() macro below defines a list of all JSC options in use,
-// along with their types and default values. The options values are actually
-// realized as an array of OptionEntry elements in JSC::Config.
-//
-// Options::initialize() will initialize the array of options values with
-// the defaults specified in FOR_EACH_JSC_OPTION() below. After that, the values can
-// be programmatically read and written to using an accessor method with the
-// same name as the option. For example, the option "useJIT" can be read and
-// set like so:
-//
-// bool jitIsOn = Options::useJIT(); // Get the option value.
-// Options::useJIT() = false; // Sets the option value.
-//
-// If you want to tweak any of these values programmatically for testing
-// purposes, you can do so in Options::initialize() after the default values
-// are set.
-//
-// Alternatively, you can override the default values by specifying
-// environment variables of the form: JSC_<name of JSC option>.
-//
-// Note: Options::initialize() tries to ensure some sanity on the option values
-// which are set by doing some range checks, and value corrections. These
-// checks are done after the option values are set. If you alter the option
-// values after the sanity checks (for your own testing), then you're liable to
-// ensure that the new values set are sane and reasonable for your own run.
-
#if PLATFORM(IOS_FAMILY)
#define MAXIMUM_NUMBER_OF_FTL_COMPILER_THREADS 2
#else
Modified: trunk/Source/_javascript_Core/runtime/OptionsList.h (250020 => 250021)
--- trunk/Source/_javascript_Core/runtime/OptionsList.h 2019-09-18 02:48:09 UTC (rev 250020)
+++ trunk/Source/_javascript_Core/runtime/OptionsList.h 2019-09-18 03:23:28 UTC (rev 250021)
@@ -27,7 +27,35 @@
namespace JSC {
-#define FOR_EACH_JSC_OPTION(v) \
+// How do JSC VM options work?
+// ===========================
+// The FOR_EACH_JSC_OPTION() macro below defines a list of all JSC options in use,
+// along with their types and default values. The options values are actually
+// realized as an array of OptionEntry elements in JSC::Config.
+//
+// Options::initialize() will initialize the array of options values with
+// the defaults specified in FOR_EACH_JSC_OPTION() below. After that, the values can
+// be programmatically read and written to using an accessor method with the
+// same name as the option. For example, the option "useJIT" can be read and
+// set like so:
+//
+// bool jitIsOn = Options::useJIT(); // Get the option value.
+// Options::useJIT() = false; // Sets the option value.
+//
+// If you want to tweak any of these values programmatically for testing
+// purposes, you can do so in Options::initialize() after the default values
+// are set.
+//
+// Alternatively, you can override the default values by specifying
+// environment variables of the form: JSC_<name of JSC option>.
+//
+// Note: Options::initialize() tries to ensure some sanity on the option values
+// which are set by doing some range checks, and value corrections. These
+// checks are done after the option values are set. If you alter the option
+// values after the sanity checks (for your own testing), then you're liable to
+// ensure that the new values set are sane and reasonable for your own run.
+
+#define FOR_EACH_JSC_OPTION(v) \
v(Bool, useKernTCSM, true, Normal, "Note: this needs to go before other options since they depend on this value.") \
v(Bool, validateOptions, false, Normal, "crashes if mis-typed JSC options were passed to the VM") \
v(Unsigned, dumpOptions, 0, Normal, "dumps JSC options (0 = None, 1 = Overridden only, 2 = All, 3 = Verbose)") \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes