WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
152551
Add support for aliasing JSC Options
https://bugs.webkit.org/show_bug.cgi?id=152551
Summary
Add support for aliasing JSC Options
Mark Lam
Reported
2015-12-24 16:54:13 PST
This allows us to use old options names as well. This is for the benefit of third party tools which may have been built to rely on those old options.
Attachments
proposed patch.
(9.99 KB, patch)
2015-12-24 17:17 PST
,
Mark Lam
fpizlo
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2015-12-24 17:17:46 PST
Created
attachment 267906
[details]
proposed patch.
WebKit Commit Bot
Comment 2
2015-12-24 17:19:28 PST
Attachment 267906
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/runtime/Options.cpp:584: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/JavaScriptCore/runtime/Options.cpp:589: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 2 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Geoffrey Garen
Comment 3
2016-01-04 10:59:04 PST
Which tools rely on old options? Who are the third parties?
Filip Pizlo
Comment 4
2016-01-04 11:14:16 PST
(In reply to
comment #3
)
> Which tools rely on old options? Who are the third parties?
We often tell people to use our options. They are all internal clients.
Mark Lam
Comment 5
2016-01-05 11:13:08 PST
Thanks for the review. Landed in
r194591
: <
http://trac.webkit.org/r194591
>.
WebKit Commit Bot
Comment 6
2016-01-05 12:34:37 PST
Re-opened since this is blocked by
bug 152750
Mark Lam
Comment 7
2016-01-05 12:37:03 PST
The requested was invalid.
Mark Lam
Comment 8
2016-01-05 12:37:19 PST
(In reply to
comment #7
)
> The requested was invalid.
I meant "requested rollout".
Csaba Osztrogonác
Comment 9
2016-01-08 03:20:46 PST
Comment on
attachment 267906
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=267906&action=review
> Source/JavaScriptCore/jsc.cpp:1973 > - JSC::Options::dumpAllOptions(stderr, JSC::Options::DumpLevel::Verbose, "All JSC runtime options:"); > + JSC::Options::dumpAllOptions(stderr, JSC::Options::DumpLevel::Overridden, "All JSC runtime options:");
Now there is no way to dump all options without modifying the source code. :-/ And in this case the help message of --options and --dumpOptions are misleading.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug