diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-09-03 12:41:03 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-09-03 12:41:03 +0100 |
| commit | 11205f968ad2bf4893fa75df3fc3331f960039d1 (patch) | |
| tree | 9f6504a674e1fc59346b98df961c20c773db2227 /src/codegen/codegen.cpp | |
| parent | e1a6775661d1ef57b84effa9b4c567c030b87556 (diff) | |
Typesafe variadic procedures
Diffstat (limited to 'src/codegen/codegen.cpp')
| -rw-r--r-- | src/codegen/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/codegen.cpp b/src/codegen/codegen.cpp index 8235fb615..735dfd580 100644 --- a/src/codegen/codegen.cpp +++ b/src/codegen/codegen.cpp @@ -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 = {}; |