@markw65/monkeyc-optimizer 1.1.9 → 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 +9 -0
- package/build/api.cjs +601 -305
- package/build/optimizer.cjs +4137 -3864
- package/build/src/api.d.ts +2 -1
- package/build/src/data-flow.d.ts +3 -2
- 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/type-flow-util.d.ts +11 -1
- package/build/src/type-flow/types.d.ts +1 -1
- package/build/src/type-flow.d.ts +1 -8
- package/build/src/variable-renamer.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -677,3 +677,12 @@ Bug Fixes
|
|
|
677
677
|
|
|
678
678
|
- New optimizations
|
|
679
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.
|