Skip to content

Review flag NTBUILD #6544

Open
Open
@rhuanjl

Description

@rhuanjl

The flag NTBUILD is used to guard various features included in chakra.dll but not in chakracore, I believe that most of the code behind it is not functional without additional code that is not in this repository and is unlikely to be made available.

We should therefore review and consider deleting as dead code anything wrapped with #ifdef NTBUILD. There is a possibility that some of this code could be usable for some other purpose - hence a review rather than immediate deletion.

Additionally the following flags are turned on by enabling NTBUILD - each of these should be individually reviewed and any code behind them considered for deletion as dead, again should consider in each case if the code can be repurposed or used without the additional code this repository does not contain:

  • ENABLE_PROJECTION
  • ENABLE_FOUNDATION_OBJECT
  • ENABLE_EXPERIMENTAL_FLAGS
  • ENABLE_WININET_PROFILE_DATA_CACHE
  • ENABLE_COMPRESSION_UTILITIES
  • ENABLE_BASIC_TELEMETRY
  • ENABLE_DOM_FAST_PATH
  • EDIT_AND_CONTINUE
  • ENABLE_JIT_CLAMP
  • ENABLE_SCRIPT_PROFILING

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions