Commit Graph

741 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
be6061d9a4 Add compiler tests for assembly instructions 2023-03-26 22:52:03 -07:00
Pranav Gaddamadugu
0dab9fbfea Add parser tests 2023-03-26 22:45:18 -07:00
d0cd
5f36bda3c5 Regen expectations due to AST changes 2023-03-26 22:45:18 -07:00
d0cd
abd25b0896
Merge pull request #2295 from AleoHQ/feat/toggle-dce
Add an option to (dis/en)able DCE in the compiler.
2023-03-20 08:53:56 -07:00
d0cd
c5f7c01f02 Add an option to enable DCE in the compiler 2023-03-13 09:28:51 -07:00
d0cd
f7784ca779 Fix to get benchmarks working 2023-03-13 08:51:48 -07:00
d0cd
f7dc194d79 Add codegen to benchmarks 2023-03-13 08:51:48 -07:00
d0cd
2b5c24ada6 Regen expectations 2023-02-22 08:25:51 -08:00
d0cd
6c61296f78 Add targeted DCE test; cleanup 2023-02-21 17:13:54 -08:00
d0cd
0e6aa4729b Clippy 2023-02-21 17:13:53 -08:00
d0cd
ce4d016742 Regen expectations 2023-02-21 17:13:53 -08:00
d0cd
dfc03db67e Connect dead code elimination pass to compiler stages, CLI, and tests 2023-02-21 17:09:22 -08:00
d0cd
c8f6089be3
[Fix] Excludes inline functions from produced bytecode. (#2277)
* Remove codegen for inline functions

* Regen expectations
2023-02-21 14:17:11 -08:00
Collin Chin
0a738d4994 chore(leo): bump version for new release 2023-02-17 22:30:17 -05:00
d0cd
0522c2a08f
Removes unused or deprecated keywords from the grammar. (#2273)
* Remove unused/deprecated symbols

* Remove tokens

* Update parser

* Update tests

* Regen expectations
2023-02-17 19:25:11 -08:00
d0cd
2158710d47 Update test 2023-02-10 23:07:22 -08:00
d0cd
a7f560e212 Regen expectations 2023-02-10 22:56:26 -08:00
d0cd
789bc52585 Add execution test 2023-02-10 22:56:14 -08:00
d0cd
4b28d81882 Regen other expectations 2023-02-10 21:51:54 -08:00
d0cd
f4a4a98d20 Add expectations for new tests 2023-02-10 21:50:57 -08:00
d0cd
ea077c83d5 Add compile tests for records and structs with visibilities 2023-02-10 21:44:30 -08:00
d0cd
cd21c1b01e Add parser tests for records and structs with visibilities 2023-02-10 21:38:38 -08:00
d0cd
55bae5a71b Fmt 2023-02-10 17:44:01 -08:00
d0cd
1dd5887518 Clippy and cleanup 2023-02-10 16:50:59 -08:00
d0cd
bf49a0cc48 Generate expectations 2023-02-10 16:26:25 -08:00
d0cd
1612bcccba Add equivalence integration test for inlined functions 2023-02-10 16:25:32 -08:00
d0cd
0be98e30b7 Add compiler tests 2023-02-10 15:15:03 -08:00
d0cd
532ad7ea14 Add parser tests 2023-02-10 15:12:55 -08:00
d0cd
98c7825833 Regen expectations 2023-02-10 09:48:54 -08:00
d0cd
79bf13ff8e Integrate function inlining into test framework 2023-02-10 09:30:43 -08:00
d0cd
6a3039277e Regen exepectations 2023-02-08 16:41:32 -08:00
d0cd
12de60e55d Update expectations 2023-02-08 12:16:02 -08:00
d0cd
afac7b55bc Add more test cases; fmt 2023-02-08 11:32:53 -08:00
d0cd
641cbf251d Cleanup test files 2023-02-08 11:32:53 -08:00
d0cd
ef0e455e2b Add support for expected errors 2023-02-08 11:32:53 -08:00
d0cd
f0c7314e17 Regen expectations 2023-02-08 11:32:53 -08:00
d0cd
04ba80f59a Reorganize tests files 2023-02-08 11:27:28 -08:00
d0cd
59915ed315 Initial implementation of Execute namespace; fmt 2023-02-08 11:21:20 -08:00
d0cd
789c2e6443 Remove input files from compiler tests 2023-02-08 11:18:40 -08:00
d0cd
5565150f30 Regen expectations 2023-02-05 12:46:21 -08:00
d0cd
74e358dde6 Add test for out of order functions 2023-02-05 12:46:21 -08:00
d0cd
498d4b698d Add tests for recursion 2023-02-05 12:46:21 -08:00
d0cd
e633c62b71 Implement post-ordering for functions during code-generation 2023-02-05 12:46:21 -08:00
d0cd
b17702e019 Fix graph init; regen expectations 2023-02-05 12:46:20 -08:00
d0cd
0e7922f5a7 Add test 2023-02-05 12:46:20 -08:00
d0cd
899c12d85a Implement post-order codegen for structs and records 2023-02-05 12:46:20 -08:00
d0cd
9f5be95f59 Add test cases 2023-02-05 12:46:20 -08:00
d0cd
b077a1745b Regen expectations 2023-02-05 12:46:20 -08:00
d0cd
d91233f06e Implement cycle detection for structs and records 2023-02-05 12:46:20 -08:00
ljedrz
b20308f049
chore: update the license headers (#2252)
Signed-off-by: ljedrz <ljedrz@gmail.com>
2023-02-02 14:27:06 -08:00