mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-23 04:44:19 -04:00
Typesafe variadic procedures
This commit is contained in:
1 parent
e1a6775661
commit
11205f968a
9 files changed
+297
-112
No files matched your search
@@ -131,7 +131,7 @@ void ssa_gen_code(ssaGen *s) {
|
||||
String name = make_string(SSA_STARTUP_RUNTIME_PROC_NAME);
|
||||
Type *proc_type = make_type_proc(a, gb_alloc_item(a, Scope),
|
||||
NULL, 0,
|
||||
NULL, 0);
|
||||
NULL, 0, false);
|
||||
AstNode *body = gb_alloc_item(a, AstNode);
|
||||
ssaValue *p = ssa_make_value_procedure(a, m, proc_type, NULL, body, name);
|
||||
Token token = {};
|
||||
|
||||
Reference in new issue
Block a user