Daniel Kolesa
|
283f23394d
|
add more codegen utilities
|
2021-04-09 00:50:13 +02:00 |
Daniel Kolesa
|
5f67b205df
|
initial bits for separation of codegen from parser
|
2021-04-09 00:41:55 +02:00 |
Daniel Kolesa
|
ccb0c09d59
|
rename codegen_state to parser_state and move it
later commits will rewrite the parser and separate the codegen
bits into their own API
|
2021-04-08 23:35:30 +02:00 |
Daniel Kolesa
|
8c8aa26c20
|
return refs for new_*var and new_ident (guarantee valid result)
|
2021-04-05 19:52:13 +02:00 |
Daniel Kolesa
|
c177013ea2
|
remove reliance on hardcoded indexes entirely
|
2021-04-04 06:52:02 +02:00 |
Daniel Kolesa
|
f0bb6b1410
|
make more api private
|
2021-04-03 06:16:43 +02:00 |
Daniel Kolesa
|
b9c74d86b5
|
msvc warning fixes
|
2021-03-31 02:21:32 +02:00 |
Daniel Kolesa
|
8385ab01e7
|
use bitset to store usedargs and increase argcount to 32
|
2021-03-28 23:46:08 +02:00 |
Daniel Kolesa
|
d11e50f5b5
|
remove the now useless MAX_RESULTS constant
|
2021-03-28 01:33:31 +01:00 |
Daniel Kolesa
|
71f45b2f07
|
fix up usage of IDENT_FLAG_UNKNOWN
|
2021-03-28 00:38:41 +01:00 |
Daniel Kolesa
|
99f227bfd9
|
unify arg and non-arg opcodes
|
2021-03-28 00:19:51 +01:00 |
Daniel Kolesa
|
d1e131dbf6
|
don't rely on MAX_ARGUMENTS where not necessary
|
2021-03-27 23:43:55 +01:00 |
Daniel Kolesa
|
a24f7c9385
|
remove leftover dead code
|
2021-03-27 00:32:27 +01:00 |
Daniel Kolesa
|
0b2c4c7038
|
pass thread_state in more places
|
2021-03-26 02:29:54 +01:00 |
Daniel Kolesa
|
d80af7b159
|
hide internal_state from public state struct
|
2021-03-25 01:37:42 +01:00 |
Daniel Kolesa
|
00b8312ad5
|
move most thread state into an internal structure
|
2021-03-24 20:33:20 +01:00 |
Daniel Kolesa
|
d774db675a
|
separate cs_gen.hh, various refactors
|
2021-03-24 02:21:32 +01:00 |