1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00
janet/test
Calvin Rose 4782a76bca Add inital bytecode optimizations for #1163
This removes unnecessary movn, movf, lds, and a few other instructions.
Any instructions that has not side effects and writes to a slot that
isn't used can be removed. A number of other optimizations can follow
from this:

- Implement the def-aliasing-var optimization better
- This function can be iterated as a fix point until no more
  instructions are removed.
- If we implement slot renaming, then we no longer need to free slots
  and can simplify the initial code generation a lot.
2023-05-29 16:10:48 -05:00
..
amalg Update copyrights. 2023-01-07 15:04:56 -06:00
fuzzers Make janet_equals and janet_compare non recursive 2020-04-24 16:18:31 -05:00
helper.janet Address #1121 - disallow extra splices. 2023-05-06 13:12:31 -05:00
suite0000.janet Update copyrights. 2023-01-07 15:04:56 -06:00
suite0001.janet Add test cases for variadic arguments to map-like functions 2023-05-26 19:08:00 +07:00
suite0002.janet string and peg replacement functions can now take functions 2023-04-23 08:36:17 -07:00
suite0003.janet Tweak long-string|bytes peg in test suite files 2023-04-30 21:55:43 +09:00
suite0004.janet Update copyrights. 2023-01-07 15:04:56 -06:00
suite0005.janet Address #1121 - disallow extra splices. 2023-05-06 13:12:31 -05:00
suite0006.janet Fix #1130 - mod flipped for signed integers. 2023-05-11 18:15:37 -05:00
suite0007.janet Fixed :cputime because msdn does not implement clock() properly 2023-05-21 07:29:27 +02:00
suite0008.janet peg replacement functions have access to captures 2023-04-23 09:15:46 -07:00
suite0009.janet file/linex now only acceps a file, not a path name 2023-05-26 17:50:26 +02:00
suite0010.janet added test for thaw and freeze 2023-05-20 17:35:25 +02:00
suite0011.janet symbolslots now use janet_v vectors, flat structure 2023-02-01 11:06:33 +01:00
suite0012.janet Be more selective when testing FFI. 2023-05-28 15:28:17 -05:00
suite0013.janet Update copyright year. 2023-01-07 15:03:35 -06:00
suite0014.janet Made peg 'not' and 'if-not' drop their captures on success 2022-09-12 23:07:56 +01:00
suite0015.janet Add inital bytecode optimizations for #1163 2023-05-29 16:10:48 -05:00