IR optimization

IR optimization currently very basic, in fact it probably doesn't even
improve performance measurably.
This commit is contained in:
r4
2021-12-25 23:01:18 +01:00
parent 850dafbbc9
commit cf93109f1e
3 changed files with 19 additions and 1 deletions

2
ir.h
View File

@@ -97,4 +97,6 @@ void irtoks_eat_irtoks(IRToks *v, IRToks *other, size_t jmp_offset);
void print_ir(IRToks *v, const BuiltinFunc *builtin_funcs);
void optimize_ir(IRToks *v);
#endif /* IR_H */