Commit d6100a45 authored by yb9976's avatar yb9976
Browse files

Fixed warnings in optimize build.

parent 12dd27f5
......@@ -250,11 +250,13 @@ static void amd64_emit_immediate32(bool const prefix,
be_emit_irprintf("%+" PRId32, imm->offset);
}
#ifndef NDEBUG
static bool is_fp_relative(const ir_entity *entity)
{
ir_type *owner = get_entity_owner(entity);
return is_frame_type(owner) || owner == layout->arg_type;
}
#endif
static void amd64_emit_addr(const ir_node *const node,
const amd64_addr_t *const addr)
......
......@@ -778,6 +778,7 @@ void x86_sim_x87_unop(x87_state *const state, ir_node *const node)
*/
void x86_sim_x87_load(x87_state *state, ir_node *n, ir_node *value)
{
(void)n;
DB((dbg, LEVEL_1, ">>> %+F\n", n));
x86_x87_push(state, value);
DB((dbg, LEVEL_1, "<<< %s -> %s\n", get_irn_opname(n), get_st_reg(0)->name));
......
Supports Markdown
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