ir: move translation context to source file

There is no need to expose this struct in the header since it be used in
this module only.

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar
2026-01-13 08:31:09 -04:00
parent 35c88dd939
commit f89973d49d
2 changed files with 11 additions and 7 deletions

11
src/bal_translator.c Normal file
View File

@@ -0,0 +1,11 @@
#include "bal_translator.h"
typedef struct
{
bal_instruction_t *instructions;
bal_bit_width_t *ssa_bit_widths;
bal_source_variable_t *source_variables;
size_t instruction_count;
} bal_translation_context_t;
/*** end of file ***/

View File

@@ -18,13 +18,6 @@
#include "bal_engine.h"
#include "bal_types.h"
typedef struct
{
bal_instruction_t *instructions;
bal_bit_width_t *ssa_bit_widths;
bal_source_variable_t *source_variables;
size_t instruction_count;
} bal_translation_context_t;
#endif /* BAL_TRANSLATOR_H */