diff options
| author | gingerBill <bill@gingerbill.org> | 2022-12-18 22:49:10 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-12-18 22:49:10 +0000 |
| commit | c1f5be24e28c41efbbbe6d116d533b55d48bbf82 (patch) | |
| tree | c000ca55e7b69ea39a6e3a32714690b350708414 /src/entity.cpp | |
| parent | 6cdec65ca1fd13a4d86d83a6715cbaaff7115cd7 (diff) | |
Remove dead code in the compiler
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 6a3a69950..0605a293a 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -404,14 +404,6 @@ gb_internal Entity *alloc_entity_proc_group(Scope *scope, Token token, Type *typ return entity; } - -gb_internal Entity *alloc_entity_builtin(Scope *scope, Token token, Type *type, i32 id) { - Entity *entity = alloc_entity(Entity_Builtin, scope, token, type); - entity->Builtin.id = id; - entity->state = EntityState_Resolved; - return entity; -} - gb_internal Entity *alloc_entity_import_name(Scope *scope, Token token, Type *type, String path, String name, Scope *import_scope) { Entity *entity = alloc_entity(Entity_ImportName, scope, token, type); |