diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-04 22:42:25 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-04 22:42:25 +0100 |
| commit | 188bc28f6a06a29a117b36c9e8c45f0fe08465c7 (patch) | |
| tree | 79384247828673ddc6b137769b5b6ecca0190f20 /src/ir.cpp | |
| parent | 689a0c0b4955e5325c5409855632a3d4a154b41e (diff) | |
Allow for overloading of polymorphic procedures
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index ed1988a5b..549e86cd3 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -4059,6 +4059,7 @@ irValue *ir_build_builtin_proc(irProcedure *proc, AstNode *expr, TypeAndValue tv return NULL; } break; + #if 0 case BuiltinProc_append: { ir_emit_comment(proc, str_lit("append")); gbAllocator a = proc->module->allocator; @@ -4167,6 +4168,7 @@ irValue *ir_build_builtin_proc(irProcedure *proc, AstNode *expr, TypeAndValue tv } return ir_emit_global_call(proc, "__dynamic_array_append", daa_args, 5); } break; + #endif case BuiltinProc_delete: { ir_emit_comment(proc, str_lit("delete")); @@ -7422,9 +7424,6 @@ void ir_gen_tree(irGen *s) { } } else if (check_is_entity_overloaded(e)) { name = ir_mangle_name(s, e->token.pos.file, e); - - gb_printf_err("%.*s|%.*s :: %s\n", LIT(original_name), LIT(name), type_to_string(e->type)); - } map_set(&m->entity_names, hash_entity(e), name); |