@markw65/monkeyc-optimizer 1.1.11 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/build/api.cjs +522 -346
- package/build/optimizer.cjs +504 -341
- package/build/src/api.d.ts +1 -1
- package/build/src/optimizer-types.d.ts +1 -0
- package/build/src/type-flow/mimimize-modules.d.ts +3 -0
- package/build/src/type-flow/minimize-locals.d.ts +2 -0
- package/build/src/type-flow/minimize-modules.d.ts +3 -0
- package/build/src/type-flow/type-flow-util.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -703,3 +703,15 @@ Bug Fixes
|
|
|
703
703
|
- Propagate any :typecheck annotations from inlined functions to their callers
|
|
704
704
|
- Fix some issues keeping track of function calls used as arguments to inlined functions, that could result in bogus diagnostics.
|
|
705
705
|
- Implement [Single Use Copy Propagation](https://github.com/markw65/monkeyc-optimizer/wiki/Local-variable-elimination#single-use-copy-propagation)
|
|
706
|
+
|
|
707
|
+
### 1.1.12
|
|
708
|
+
|
|
709
|
+
- Update to [@markw65/prettier-plugin-monkeyc@1.0.45](https://github.com/markw65/prettier-plugin-monkeyc#1045)
|
|
710
|
+
- fixes some bugs that could cause comments to go missing, resulting in an internal error from the formatter
|
|
711
|
+
- Streamline some of the data structures used for `Minimise Locals` and `Single Copy Prop` to reduce memory use, and speed things up a little.
|
|
712
|
+
- Fix a bug that could cause incorrect copy propagation in loops
|
|
713
|
+
- Add support for update assignments in copy propagation (so that `var x = a; x += b; return x` goes to `return a + b`)
|
|
714
|
+
|
|
715
|
+
### 1.1.13
|
|
716
|
+
|
|
717
|
+
- Adds a new [Minimize Modules](https://github.com/markw65/monkeyc-optimizer/wiki/Optimizing-module-imports#minimize-modules) pass, which attempts to ensure that every module referenced by the program is imported.
|