mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 01:55:44 +00:00
33b1e95109
This commit adds the boilerplate machinery for the function-references proposal. The interesting piece is that the GC proposal is moved to require the function-references proposal to be enabled. The configuration machinery for features is refactored in this commit to avoid passing 6 different booleans around as parameters to functions. * A FeatureArgs struct is added with values for all 'feature' configuration options - A feature is defined as an option that affects validation or semantics - Essentially everything besides 'debug', 'mode', 'tier' * All feature configuration responsibility is removed from CompilerEnvironment * ModuleEnvironment is modified to accept a FeatureArgs in addition to a CompilerEnvironment - The CompilerEnvironment field may eventually be removed, as it's not needed within function validation, and is only used by the compilers later Differential Revision: https://phabricator.services.mozilla.com/D89857 |
||
---|---|---|
.. | ||
crashtests | ||
idl | ||
loader | ||
public | ||
shell | ||
src | ||
tests | ||
wrappers | ||
moz.build |