aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/codegen.cpp
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-08-01 13:11:50 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-08-01 13:11:50 +0100
commite5665a190d196dc6f2a9bb45be737325eaf12cf5 (patch)
treecd74d861a7cd9e065a41c55df2f1130671b20398 /src/codegen/codegen.cpp
parent88e05ad2b25b51ad3f5dd92554ffbfa3eeaa57b9 (diff)
Big Refactor to type less :P
Diffstat (limited to 'src/codegen/codegen.cpp')
-rw-r--r--src/codegen/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/codegen.cpp b/src/codegen/codegen.cpp
index a28d0d170..94ccabe0f 100644
--- a/src/codegen/codegen.cpp
+++ b/src/codegen/codegen.cpp
@@ -39,7 +39,7 @@ void ssa_gen_code(ssaGen *s) {
gb_for_array(i, info->entities.entries) {
auto *entry = &info->entities.entries[i];
Entity *e = cast(Entity *)cast(uintptr)entry->key;
- DeclarationInfo *decl = entry->value;
+ DeclInfo *decl = entry->value;
String name = e->token.string;