diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-08-15 13:46:01 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-08-15 13:46:01 +0100 |
| commit | 3ed75b22a357292393618fc684b18a1d167f4eb7 (patch) | |
| tree | 9233d60f2a870416f09a833ecd31956f375120da /src/codegen/codegen.cpp | |
| parent | 0f48a7d299a80c2e461bdcf5b37b5f624a48d7e8 (diff) | |
string comparisons
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 0c36ca8f3..43957ba76 100644 --- a/src/codegen/codegen.cpp +++ b/src/codegen/codegen.cpp @@ -58,7 +58,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; + Entity *e = cast(Entity *)cast(uintptr)entry->key.key; DeclInfo *decl = entry->value; String name = e->token.string; |