Commit 9fddc23f authored by sebastian.buchwald1's avatar sebastian.buchwald1
Browse files

Fixed two warnings.

parent 341f402f
......@@ -193,7 +193,7 @@ typedef enum amd64_emit_mod_t {
EMIT_RESPECT_LS = 1U << 0,
EMIT_IGNORE_MODE = 1U << 1,
} amd64_emit_mod_t;
ENUM_BITSET(amd64_emit_mod_t);
ENUM_BITSET(amd64_emit_mod_t)
void amd64_emitf(ir_node const *const node, char const *fmt, ...)
{
......
......@@ -557,9 +557,6 @@ static void write_mode_arithmetic(write_env_t *env, ir_mode_arithmetic arithmeti
fputc(' ', env->file);
}
static void write_type(write_env_t *env, ir_type *tp);
static void write_entity(write_env_t *env, ir_entity *entity);
static void write_type_common(write_env_t *env, ir_type *tp)
{
fputc('\t', env->file);
......@@ -572,6 +569,8 @@ static void write_type_common(write_env_t *env, ir_type *tp)
write_unsigned(env, tp->flags);
}
static void write_type(write_env_t *env, ir_type *tp);
static void write_type_primitive(write_env_t *env, ir_type *tp)
{
ir_type *base_type = get_primitive_base_type(tp);
......
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