ThreadConfigFlagsList.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft Corporation and contributors. All rights reserved.
  3. // Copyright (c) ChakraCore Project Contributors. All rights reserved.
  4. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  5. //-------------------------------------------------------------------------------------------------------
  6. // Format: FLAG*(ThreadFlag, GlobalFlag)
  7. FLAG(IsCollectGarbageEnabled, CollectGarbage)
  8. FLAG(IsErrorStackTraceEnabled, errorStackTrace)
  9. FLAG(IsES6UnicodeVerboseEnabled, ES6UnicodeVerbose)
  10. FLAG_RELEASE(IsIntlEnabled, Intl)
  11. FLAG_RELEASE(IsES6DateParseFixEnabled, ES6DateParseFix)
  12. FLAG_RELEASE(IsES6FunctionNameFullEnabled, ES6FunctionNameFull)
  13. FLAG_RELEASE(IsES6GeneratorsEnabled, ES6Generators)
  14. FLAG_RELEASE(IsES7ExponentiationOperatorEnabled, ES7ExponentiationOperator)
  15. FLAG_RELEASE(IsES7TrailingCommaEnabled, ES7TrailingComma)
  16. FLAG_RELEASE(IsES7ValuesEntriesEnabled, ES7ValuesEntries)
  17. FLAG_RELEASE(IsES6IsConcatSpreadableEnabled, ES6IsConcatSpreadable)
  18. FLAG_RELEASE(IsES6MathExtensionsEnabled, ES6Math)
  19. FLAG_RELEASE(IsES6ModuleEnabled, ES6Module)
  20. FLAG_RELEASE(IsES6ObjectExtensionsEnabled, ES6Object)
  21. FLAG_RELEASE(IsES6NumberExtensionsEnabled, ES6Number)
  22. FLAG_RELEASE(IsES6ObjectLiteralsEnabled, ES6ObjectLiterals)
  23. FLAG_RELEASE(IsES6ProxyEnabled, ES6Proxy)
  24. FLAG_RELEASE(IsES6RestEnabled, ES6Rest)
  25. FLAG_RELEASE(IsES6SpreadEnabled, ES6Spread)
  26. FLAG_RELEASE(IsES6StringExtensionsEnabled, ES6String)
  27. FLAG_RELEASE(IsES6StringPrototypeFixEnabled, ES6StringPrototypeFixes)
  28. FLAG_RELEASE(IsES6PrototypeChain, ES6PrototypeChain)
  29. FLAG_RELEASE(IsES6ToPrimitiveEnabled, ES6ToPrimitive)
  30. FLAG_RELEASE(IsES6ToLengthEnabled, ES6ToLength)
  31. FLAG_RELEASE(IsES6ToStringTagEnabled, ES6ToStringTag)
  32. FLAG_RELEASE(IsES6UnicodeExtensionsEnabled, ES6Unicode)
  33. FLAG_RELEASE(IsES6RegExStickyEnabled, ES6RegExSticky)
  34. FLAG_RELEASE(IsES2018RegExDotAllEnabled, ES2018RegExDotAll)
  35. FLAG_RELEASE(IsES6RegExPrototypePropertiesEnabled, ES6RegExPrototypeProperties)
  36. FLAG_RELEASE(IsES6RegExSymbolsEnabled, ES6RegExSymbols)
  37. FLAG_RELEASE(SkipSplitOnNoResult, SkipSplitOnNoResult)
  38. FLAG_RELEASE(IsES7AsyncAndAwaitEnabled, ES7AsyncAwait)
  39. FLAG_RELEASE(IsESObjectGetOwnPropertyDescriptorsEnabled, ESObjectGetOwnPropertyDescriptors)
  40. FLAG_RELEASE(IsESSharedArrayBufferEnabled, ESSharedArrayBuffer)
  41. FLAG_RELEASE(IsESDynamicImportEnabled, ESDynamicImport)
  42. FLAG_RELEASE(IsESImportMetaEnabled, ESImportMeta)
  43. FLAG_RELEASE(IsESBigIntEnabled, ESBigInt)
  44. FLAG_RELEASE(IsESNumericSeparatorEnabled, ESNumericSeparator)
  45. FLAG_RELEASE(IsESHashbangEnabled, ESHashbang)
  46. FLAG_RELEASE(IsESNullishCoalescingOperatorEnabled, ESNullishCoalescingOperator)
  47. FLAG_RELEASE(IsESExportNsAsEnabled, ESExportNsAs)
  48. FLAG_RELEASE(IsESSymbolDescriptionEnabled, ESSymbolDescription)
  49. FLAG_RELEASE(IsESPromiseAnyEnabled, ESPromiseAny)
  50. FLAG_RELEASE(IsESArrayFindFromLastEnabled , ESArrayFindFromLast)
  51. FLAG_RELEASE(IsESGlobalThisEnabled, ESGlobalThis)
  52. FLAG_RELEASE(IsES2018AsyncIterationEnabled, ES2018AsyncIteration)
  53. FLAG_RELEASE(IsESTopLevelAwaitEnabled, ESTopLevelAwait)
  54. #ifdef ENABLE_TEST_HOOKS
  55. FLAG_RELEASE(Force32BitByteCode, Force32BitByteCode)
  56. #endif