Skip to content

Commit 5939627

Browse files
committed
Temporarily uncomment the builtins_initialized code for testing purposes
1 parent 0f52ada commit 5939627

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gcc/jit/dummy-frontend.cc

+5-5
Original file line numberDiff line numberDiff line change
@@ -1077,12 +1077,12 @@ jit_langhook_init (void)
10771077
// without checking if it's already filled before. A better check would be
10781078
// `if target_builtins.len() == 0` (or whatever this `hash_map` type method
10791079
// name is).
1080-
// static bool builtins_initialized = false;
1081-
// if (!builtins_initialized)
1082-
// {
1080+
static bool builtins_initialized = false;
1081+
if (!builtins_initialized)
1082+
{
10831083
targetm.init_builtins ();
1084-
// builtins_initialized = true;
1085-
// }
1084+
builtins_initialized = true;
1085+
}
10861086

10871087
return true;
10881088
}

0 commit comments

Comments
 (0)