diff options
| author | gingerBill <bill@gingerbill.org> | 2021-11-05 17:03:02 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-11-05 17:03:02 +0000 |
| commit | 6646348e1a0086d9a2341d0866f787ffc2608c8f (patch) | |
| tree | e213ed15493bd353c27387d5514e309dc29a3491 /src/llvm_backend_stmt.cpp | |
| parent | c38d6dc9592cff3bfd21c45076cd82df2d763eb2 (diff) | |
Increase usage of `PtrMap`
Diffstat (limited to 'src/llvm_backend_stmt.cpp')
| -rw-r--r-- | src/llvm_backend_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_stmt.cpp b/src/llvm_backend_stmt.cpp index 4f57dbfa6..9d3d2c949 100644 --- a/src/llvm_backend_stmt.cpp +++ b/src/llvm_backend_stmt.cpp @@ -83,7 +83,7 @@ void lb_build_constant_value_decl(lbProcedure *p, AstValueDecl *vd) { DeclInfo *decl = decl_info_of_entity(e); ast_node(pl, ProcLit, decl->proc_lit); if (pl->body != nullptr) { - auto *found = map_get(&info->gen_procs, hash_pointer(ident)); + auto *found = map_get(&info->gen_procs, ident); if (found) { auto procs = *found; for_array(i, procs) { |