File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -1174,13 +1174,6 @@ recording::type* tree_type_to_jit_type (tree type)
1174
1174
// For __builtin_sysv_va_copy.
1175
1175
return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID); // FIXME: wrong type.
1176
1176
}
1177
- for (int i = 0 ; i < NUM_FLOATN_NX_TYPES; i++)
1178
- {
1179
- if (type == FLOATN_NX_TYPE_NODE (i))
1180
- {
1181
- return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID); // FIXME: wrong type.
1182
- }
1183
- }
1184
1177
if (type == void_type_node)
1185
1178
{
1186
1179
return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID);
@@ -1336,6 +1329,15 @@ recording::type* tree_type_to_jit_type (tree type)
1336
1329
}
1337
1330
else
1338
1331
{
1332
+ // TODO: remove if not needed anymore.
1333
+ /* for (int i = 0; i < NUM_FLOATN_NX_TYPES; i++)
1334
+ {
1335
+ if (type == FLOATN_NX_TYPE_NODE (i))
1336
+ {
1337
+ return new recording::memento_of_get_type (&target_builtins_ctxt, GCC_JIT_TYPE_VOID); // FIXME: wrong type.
1338
+ }
1339
+ }*/
1340
+
1339
1341
// Attempt to find an unqualified type when the current type has qualifiers.
1340
1342
tree tp = TYPE_MAIN_VARIANT (type);
1341
1343
for ( ; tp != NULL ; tp = TYPE_NEXT_VARIANT (tp))
You can’t perform that action at this time.
0 commit comments