Commit 7ee810bb authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Make ia32_get_admissible_noreg() static.

[r22459]
parent f864dbdd
......@@ -180,7 +180,8 @@ ir_node *ia32_new_Fpu_truncate(ia32_code_gen_t *cg) {
/**
* Returns the admissible noreg register node for input register pos of node irn.
*/
ir_node *ia32_get_admissible_noreg(ia32_code_gen_t *cg, ir_node *irn, int pos) {
static ir_node *ia32_get_admissible_noreg(ia32_code_gen_t *cg, ir_node *irn, int pos)
{
const arch_register_req_t *req;
req = arch_get_register_req(cg->arch_env, irn, pos);
......
......@@ -152,11 +152,6 @@ ir_node *ia32_new_Unknown_vfp(ia32_code_gen_t *cg);
*/
ir_node *ia32_new_Fpu_truncate(ia32_code_gen_t *cg);
/**
* Returns gp_noreg or fp_noreg, depending on input requirements.
*/
ir_node *ia32_get_admissible_noreg(ia32_code_gen_t *cg, ir_node *irn, int pos);
/**
* Maps all intrinsic calls that the backend support
* and map all instructions the backend did not support
......
Markdown is supported
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