phobos2077
bf164be1fc
Fix error in FindVarUsage resulting in node indexes getting borked
2023-06-09 11:15:11 +02:00
phobos2077
e1483a8e44
Fix crash for scripts with no strings
2023-06-09 10:55:54 +02:00
phobos2077
b5b0e2de98
Reduce code duplication between namespace and stringspace optimization
2023-06-09 02:36:11 +02:00
phobos2077
507331ca51
Compress stringspace, closes #5
2023-06-09 01:52:06 +02:00
phobos2077
867be799d2
Fix optimizer not treating CALL as variable use (valid case when variable contains procedure name) - closes #6
2023-06-09 00:54:45 +02:00
phobos2077
8162a01b63
Full optimization: don't eliminate proc args if any consequent args were used, to prevent invalid values ( closes #4 )
...
- This happens because proc will still have it's original arg count and calling side will still pass all arguments, but inside the proc, wrong argument will be used, due to how variable removal works
2023-05-25 01:48:32 +02:00
NovaRain
7264e9fb28
Added new "div" operator for unsigned integer division
2020-02-02 16:30:45 +08:00
NovaRain
c68373a25f
Added new "reg_anim_callback" sfall opcode
...
Improved the constant expression folding for full optimization.
(currently in beta, only available for debug build)
2019-11-14 12:59:22 +08:00
NovaRain
d93e812f9f
Merged changes from sfall 4.2.1 modderspack:
...
* Added -m<macro[=val]> and -I<path> options
* Changed the search order for Include files for the parser DLL.
* Removed embedded mcpp from Win2k build.
2019-11-14 12:14:46 +08:00
NovaRain
9b63b1886a
commit source from sfall 4.2 modderspack
2019-11-14 11:57:39 +08:00