Skip to content

Commit

Permalink
Temporarily uncomment the builtins_initialized code for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Apr 26, 2024
1 parent 0f52ada commit 5939627
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gcc/jit/dummy-frontend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1077,12 +1077,12 @@ jit_langhook_init (void)
// without checking if it's already filled before. A better check would be
// `if target_builtins.len() == 0` (or whatever this `hash_map` type method
// name is).
// static bool builtins_initialized = false;
// if (!builtins_initialized)
// {
static bool builtins_initialized = false;
if (!builtins_initialized)
{
targetm.init_builtins ();
// builtins_initialized = true;
// }
builtins_initialized = true;
}

return true;
}
Expand Down

0 comments on commit 5939627

Please sign in to comment.