Skip to content

Commit

Permalink
eliminate code view dependence on txt/hs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfleury committed Jan 7, 2025
1 parent e82041e commit 64aa068
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/raddbg/raddbg_views.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ rd_code_view_build(Arena *arena, RD_CodeViewState *cv, RD_CodeViewBuildFlags fla
{
ProfBeginFunction();
Temp scratch = scratch_begin(&arena, 1);
HS_Scope *hs_scope = hs_scope_open();
TXT_Scope *txt_scope = txt_scope_open();

//////////////////////////////
//- rjf: unpack state
Expand Down Expand Up @@ -784,8 +782,6 @@ rd_code_view_build(Arena *arena, RD_CodeViewState *cv, RD_CodeViewBuildFlags fla
//
rd_store_view_scroll_pos(scroll_pos);

txt_scope_close(txt_scope);
hs_scope_close(hs_scope);
scratch_end(scratch);
ProfEnd();
return result;
Expand Down

0 comments on commit 64aa068

Please sign in to comment.