aboutsummaryrefslogtreecommitdiff
path: root/bcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bcode.h')
-rw-r--r--bcode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bcode.h b/bcode.h
index e25d32a..730b8e7 100644
--- a/bcode.h
+++ b/bcode.h
@@ -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 */