mirror of
https://github.com/pound-emu/ballistic.git
synced 2026-01-31 01:15:21 +01:00
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:
11
src/bal_translator.c
Normal file
11
src/bal_translator.c
Normal 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 ***/
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user