gecko-dev/js/xpconnect
Ryan Hunt 33b1e95109 Bug 1664361 - wasm: Add function-references configuration option and runtime flag. r=lth
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
2020-09-28 19:18:48 +00:00
..
crashtests
idl
loader Bug 1666419: Assert IsSafeToRunScript. r=emilio 2020-09-28 06:29:44 +00:00
public
shell
src Bug 1664361 - wasm: Add function-references configuration option and runtime flag. r=lth 2020-09-28 19:18:48 +00:00
tests Bug 1658308 - Implement Array.prototype.item and %TypedArray%.prototype.item in Nightly. r=anba 2020-09-26 20:54:59 +00:00
wrappers Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
moz.build