diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-07-04 23:37:51 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-07-04 23:37:51 +0300 |
| commit | e82c73d2b57e58894d8c93fc720559df6392d58b (patch) | |
| tree | 3a637c10d0334e21ba3a75fbf5854d0f43efe07e /bcode.h | |
| parent | 703e37ac56883f9a54b35960fde438c7cfba4592 (diff) | |
| download | bcgen-e82c73d2b57e58894d8c93fc720559df6392d58b.tar.gz bcgen-e82c73d2b57e58894d8c93fc720559df6392d58b.zip | |
add loop example
Diffstat (limited to 'bcode.h')
| -rw-r--r-- | bcode.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,7 +28,10 @@ struct compile_state { gbreg_t run(struct compile_state *cs); void init(struct compile_state *cs); +void end(struct compile_state *cs); void destroy(struct compile_state *cs); + +breg_t label(struct compile_state *cs); void patch(struct compile_state *cs, breloc_t reloc, breg_t imm); #endif /* BCGEN_BCODE_H */ |
