Commit cbfbedae authored by Christian Würdig's avatar Christian Würdig
Browse files

added function to retrieve irn ops

parent be7097d7
......@@ -87,6 +87,10 @@ get_irn_ops(const arch_env_t *env, const ir_node *irn)
return fallback_irn_ops;
}
const arch_irn_ops_t *arch_get_irn_ops(const arch_env_t *env, const ir_node *irn) {
return get_irn_ops(env, irn);
}
const arch_register_req_t *arch_get_register_req(const arch_env_t *env,
arch_register_req_t *req, const ir_node *irn, int pos)
{
......
......@@ -348,6 +348,8 @@ struct _arch_irn_ops_t {
const arch_irn_ops_if_t *impl;
};
extern const arch_irn_ops_t *arch_get_irn_ops(const arch_env_t *env, const ir_node *irn);
extern void arch_set_frame_offset(const arch_env_t *env, ir_node *irn, int bias);
extern entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn);
......
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