Issue #2142 - Add internal option for fields, but always true

This allows us to perform bisects on the following commits without causing runtime issues.

Based-on: m-c 1529758
This commit is contained in:
Martok 2023-04-08 04:47:37 +02:00 committed by roytam1
commit afa7bddc96
2 changed files with 3 additions and 0 deletions

View file

@ -3820,6 +3820,7 @@ class JS_FRIEND_API(TransitiveCompileOptions)
forceAsync(false),
installedFile(false),
sourceIsLazy(false),
fieldsEnabledOption(true),
introductionType(nullptr),
introductionLineno(0),
introductionOffset(0),
@ -3855,6 +3856,7 @@ class JS_FRIEND_API(TransitiveCompileOptions)
bool forceAsync;
bool installedFile; // 'true' iff pre-compiling js file in packaged app
bool sourceIsLazy;
bool fieldsEnabledOption;
// |introductionType| is a statically allocated C string:
// one of "eval", "Function", or "GeneratorFunction".