Commit e1991097 authored by Tobias Rapp's avatar Tobias Rapp
Browse files

amd64: Replace number with existing define

parent 6f0af88e
......@@ -101,7 +101,7 @@ static int amd64_get_sp_bias(const ir_node *node)
return get_insn_mode_bytes(attr->insn_mode);
} else if (is_amd64_PushRbp(node)) {
/* 64-bit register size */
return 8;
return AMD64_REGISTER_SIZE;
} else if (is_amd64_PopAM(node)) {
const amd64_addr_attr_t *attr = get_amd64_addr_attr_const(node);
return -get_insn_mode_bytes(attr->insn_mode);
......
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