@markw65/monkeyc-optimizer 1.1.8 → 1.1.10
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 +20 -0
- package/build/api.cjs +1006 -342
- package/build/optimizer.cjs +5878 -5259
- package/build/src/api.d.ts +2 -1
- package/build/src/data-flow.d.ts +7 -7
- package/build/src/inliner.d.ts +1 -0
- package/build/src/optimizer.d.ts +1 -0
- package/build/src/type-flow/could-be.d.ts +2 -0
- package/build/src/type-flow/dead-store.d.ts +7 -2
- package/build/src/type-flow/live-range.d.ts +0 -0
- package/build/src/type-flow/minimize-locals.d.ts +2 -0
- package/build/src/type-flow/type-flow-util.d.ts +11 -1
- package/build/src/type-flow.d.ts +14 -8
- package/build/src/variable-renamer.d.ts +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -666,3 +666,23 @@ Bug Fixes
|
|
|
666
666
|
- Add support for comletion style lookups - find all the names available in the current context that fuzzy match a given string
|
|
667
667
|
- Add helpers to read the function documentation from api.debug.xml
|
|
668
668
|
- Add an option to visitReferences to only find a specific definition, rather than all definitions for that name in the current scope.
|
|
669
|
+
|
|
670
|
+
### 1.1.9
|
|
671
|
+
|
|
672
|
+
- Update to [@markw65/prettier-plugin-monkeyc@1.0.43](https://github.com/markw65/prettier-plugin-monkeyc#1043)
|
|
673
|
+
|
|
674
|
+
- Bug fixes
|
|
675
|
+
|
|
676
|
+
- fix an interaction between inlining and removing unused local vars that could cause unlimited recursion leading to stack overflow
|
|
677
|
+
|
|
678
|
+
- New optimizations
|
|
679
|
+
- Adds a `minimizeLocals` pass which runs after `sizeBasedPRE` and attempts to re-use local variables in order to reduce the total number, and hence reduce the stack size.
|
|
680
|
+
|
|
681
|
+
### 1.1.10
|
|
682
|
+
|
|
683
|
+
- Bug fixes
|
|
684
|
+
- Fix a bug that could cause inlined code to not get fully optimized
|
|
685
|
+
- Fix costs for pre of Long and Double constants, so that values that are used twice (rather than 3 times) will be subject to pre
|
|
686
|
+
- Fix some issues tracking the contents of Objects. In some circumstances, if two objects could be aliased, an assignment to a field of one of them might not be recognized as affecting the other.
|
|
687
|
+
- Don't warn about inlining failing if constant folding succeeds.
|
|
688
|
+
- In the vscode extension, in some cases `Go to Definition` worked for a resource (eg a Menu), but then `Go to References` said there were none. This was caused by incorrect source location in the (fake) resource code.
|