Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Conditionalized Promise Internal Bytecode.
Summary: This diff add `Promise` to the internal bytecode. The Promise Internal Bytecode is generated on the fly from the npm `promise` polyfill package with some refinements so that - It use the HermesInternal promise rejection tracking configuration. - Its initialization is conditionalized against `HermesInternal.hasPromise()`. A shell script is introduced in `util` to automate this tedious process. Reviewed By: avp Differential Revision: D23486048 fbshipit-source-id: 29a7a1cfcb0a8892939d6a1993810cda538aab9d
- Loading branch information