aboutsummaryrefslogtreecommitdiff
path: root/src/tilde.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-07-24 16:09:01 +0100
committergingerBill <bill@gingerbill.org>2023-07-24 16:09:01 +0100
commit28fca190ee11f5c19d30007f20caa4c7bf89f655 (patch)
tree595c387e0d83bec411e346d301c6c6d3e3d65676 /src/tilde.hpp
parent78116e0ea24aef3f663832edfb5f9cd6aa7b6e57 (diff)
Fix `transmute(uintptr)ptr` etc
Diffstat (limited to 'src/tilde.hpp')
-rw-r--r--src/tilde.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tilde.hpp b/src/tilde.hpp
index a548252d9..2d7b2e1c3 100644
--- a/src/tilde.hpp
+++ b/src/tilde.hpp
@@ -301,7 +301,7 @@ gb_internal void cg_build_return_stmt(cgProcedure *p, Slice<Ast *> const &return
gb_internal void cg_build_return_stmt_internal(cgProcedure *p, Slice<cgValue> const &results);
gb_internal void cg_build_range_stmt(cgProcedure *p, Ast *node);
-
+gb_internal cgValue cg_find_value_from_entity(cgModule *m, Entity *e);
gb_internal cgValue cg_find_procedure_value_from_entity(cgModule *m, Entity *e);
gb_internal TB_DebugType *cg_debug_type(cgModule *m, Type *type);
@@ -322,6 +322,9 @@ gb_internal cgValue cg_emit_comp_against_nil(cgProcedure *p, TokenKind op_kind,
gb_internal cgValue cg_emit_comp(cgProcedure *p, TokenKind op_kind, cgValue left, cgValue right);
gb_internal cgValue cg_emit_arith(cgProcedure *p, TokenKind op, cgValue lhs, cgValue rhs, Type *type);
+gb_internal cgValue cg_emit_call(cgProcedure * p, cgValue value, Slice<cgValue> const &args);
+gb_internal cgValue cg_emit_runtime_call(cgProcedure *p, char const *name, Slice<cgValue> const &args);
+
gb_internal bool cg_emit_goto(cgProcedure *p, TB_Node *control_region);
gb_internal TB_Node *cg_control_region(cgProcedure *p, char const *name);