Remove the very thin wrapper function arch_register_get_class().
[libfirm] / ir / be / ia32 / ia32_common_transform.c
index bbe9d3f..47578f0 100644 (file)
@@ -840,7 +840,7 @@ const arch_register_req_t *ia32_parse_clobber(const char *clobber)
 
        req          = OALLOCZ(obst, arch_register_req_t);
        req->type    = arch_register_req_type_limited;
-       req->cls     = arch_register_get_class(reg);
+       req->cls     = reg->reg_class;
        req->limited = limited;
        req->width   = 1;