authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-03-01 17:36:43-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-03-01 17:36:43-05:00
logfc17b8ee8bae48b1b4067deee4b38716b935a160
tree4c86007633847d11ca35f442ec957b1d9864ee55
parent26128396f3abaaba725642220b1fd34e281c8939

remove unused function


1 files changed, 0 insertions(+), 17 deletions(-)

src/ir.cpp-17
...@@ -6637,23 +6637,6 @@ static Buf *get_anon_type_name(CodeGen *codegen, IrExecutable *exec, const char...@@ -6637,23 +6637,6 @@ static Buf *get_anon_type_name(CodeGen *codegen, IrExecutable *exec, const char
6637 }6637 }
6638}6638}
66396639
6640static void get_namespace_name(Buf *buf, Scope *scope, uint8_t sep) {
6641 if (!scope)
6642 return;
6643
6644 if (scope->id == ScopeIdDecls) {
6645 get_namespace_name(buf, scope->parent, sep);
6646
6647 ScopeDecls *scope_decls = (ScopeDecls *)scope;
6648 if (scope_decls->container_type) {
6649 buf_append_buf(buf, &scope_decls->container_type->name);
6650 buf_append_char(buf, sep);
6651 }
6652 return;
6653 }
6654
6655 get_namespace_name(buf, scope->parent, sep);
6656}
6657static IrInstruction *ir_gen_container_decl(IrBuilder *irb, Scope *parent_scope, AstNode *node) {6640static IrInstruction *ir_gen_container_decl(IrBuilder *irb, Scope *parent_scope, AstNode *node) {
6658 assert(node->type == NodeTypeContainerDecl);6641 assert(node->type == NodeTypeContainerDecl);
66596642