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