Commit baf66c03 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

types: Remove the unused mtp_property_intrinsic.

parent 8c1016d9
......@@ -258,22 +258,19 @@ typedef enum mtp_additional_properties {
/** This method can return more than one (typically setjmp).
* GCC: __attribute__((returns_twice)). */
mtp_property_returns_twice = 1u << 6,
/** This method is intrinsic. It is expected that a lowering phase will
* remove all calls to it. */
mtp_property_intrinsic = 1u << 7,
/** All method invocations are known, the backend is free to optimize the
* call in any possible way. */
mtp_property_private = 1u << 8,
mtp_property_private = 1u << 7,
/** Set, if this method contains one possibly endless loop. */
mtp_property_has_loop = 1u << 9,
mtp_property_has_loop = 1u << 8,
/** try to always inline this function, even if it seems nonprofitable */
mtp_property_always_inline = 1u << 10,
mtp_property_always_inline = 1u << 9,
/** the function should not be inlined */
mtp_property_noinline = 1u << 11,
mtp_property_noinline = 1u << 10,
/** the programmer recommends to inline the function */
mtp_property_inline_recommended = 1u << 12,
mtp_property_inline_recommended = 1u << 11,
/** stupid hack used by opt_funccall... */
mtp_temporary = 1u << 13,
mtp_temporary = 1u << 12,
} mtp_additional_properties;
ENUM_BITSET(mtp_additional_properties)
......
......@@ -535,7 +535,6 @@ static void dump_entity_to_file_prefix(FILE *F, ir_entity *ent, const char *pref
if (mask & mtp_property_naked) fputs("naked_function, ", F);
if (mask & mtp_property_malloc) fputs("malloc_function, ", F);
if (mask & mtp_property_returns_twice) fputs("weak_function, ", F);
if (mask & mtp_property_intrinsic) fputs("intrinsic_function, ", F);
if (mask & mtp_property_private) fputs("private_function, ", F);
if (mask & mtp_property_has_loop) fputs("has_loop_function, ", F);
fputc('\n', F);
......@@ -769,8 +768,6 @@ void dump_type_to_file(FILE *F, ir_type *tp)
fputs(" malloc", F);
if (mtp & mtp_property_returns_twice)
fputs(" returns_twice", F);
if (mtp & mtp_property_intrinsic)
fputs(" intrinsic", F);
if (mtp & mtp_property_private)
fputs(" private", F);
if (mtp & mtp_property_has_loop)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment