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

amd64: Remove duplicate assert.

get_tarval_uint64() checks the same.
parent e4b07ef3
......@@ -50,7 +50,6 @@ static ir_node *gen_Const(ir_node *node)
if (!mode_needs_gp_reg(mode))
panic("amd64: float constant not supported yet");
ir_tarval *tv = get_Const_tarval(node);
uint64_t val = get_tarval_uint64(tv);
amd64_insn_mode_t imode = val > UINT32_MAX ? INSN_MODE_64 : INSN_MODE_32;
return new_bd_amd64_Const(dbgi, block, imode, val, false, NULL);
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