eliminate unneeded path-renormalization in debug info cache lookup

This commit is contained in:
Ryan Fleury
2025-06-25 10:52:29 -07:00
parent e2eb1cd6d6
commit 36f5597d8e
5 changed files with 24 additions and 19 deletions
+1 -1
View File
@@ -1617,7 +1617,7 @@ e_push_irtree_and_type_from_expr(Arena *arena, E_IRTreeAndType *root_parent, E_I
{
//- rjf: try to map identifier via this path
E_IdentifierResolutionPath path = identifier_resolution_rule->paths[path_idx];
switch(path)
ProfScope("identifier resolution %i", path) switch(path)
{
default:{}break;
+2
View File
@@ -528,6 +528,7 @@ e_string_from_expr(Arena *arena, E_Expr *expr, String8 parent_expr_string)
internal E_TypeKey
e_leaf_type_from_name(String8 name)
{
ProfBeginFunction();
E_TypeKey key = zero_struct;
B32 found = 0;
if(!found)
@@ -674,6 +675,7 @@ e_leaf_type_from_name(String8 name)
}
}
}
ProfEnd();
return key;
}