We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f52ada commit 5939627Copy full SHA for 5939627
gcc/jit/dummy-frontend.cc
@@ -1077,12 +1077,12 @@ jit_langhook_init (void)
1077
// without checking if it's already filled before. A better check would be
1078
// `if target_builtins.len() == 0` (or whatever this `hash_map` type method
1079
// name is).
1080
- // static bool builtins_initialized = false;
1081
- // if (!builtins_initialized)
1082
- // {
+ static bool builtins_initialized = false;
+ if (!builtins_initialized)
+ {
1083
targetm.init_builtins ();
1084
- // builtins_initialized = true;
1085
- // }
+ builtins_initialized = true;
+ }
1086
1087
return true;
1088
}
0 commit comments