Commit dde7cd23 authored by Matthias Braun's avatar Matthias Braun
Browse files

ia32: remove unnecessary safety check

[r27993]
parent ff94a727
...@@ -673,9 +673,6 @@ void set_ia32_in_req_all(ir_node *node, const arch_register_req_t **reqs) ...@@ -673,9 +673,6 @@ void set_ia32_in_req_all(ir_node *node, const arch_register_req_t **reqs)
const arch_register_req_t *get_ia32_in_req(const ir_node *node, int pos) const arch_register_req_t *get_ia32_in_req(const ir_node *node, int pos)
{ {
const ia32_attr_t *attr = get_ia32_attr_const(node); const ia32_attr_t *attr = get_ia32_attr_const(node);
if (attr->in_req == NULL)
return arch_no_register_req;
return attr->in_req[pos]; return attr->in_req[pos];
} }
......
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