mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-02 03:58:11 +00:00
eliminate unneeded path-renormalization in debug info cache lookup
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user