*/
/**
- * Processor architecture specification.
- * @author Sebastian Hack
- * @date 11.2.2005
- *
- * $Id$
+ * @file
+ * @brief Processor architecture specification.
+ * @author Sebastian Hack
+ * @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
ops->impl->set_frame_offset(ops, irn, offset);
}
-ir_entity *arch_get_frame_entity(const arch_env_t *env, ir_node *irn)
+ir_entity *arch_get_frame_entity(const arch_env_t *env, const ir_node *irn)
{
const arch_irn_ops_t *ops = get_irn_ops(env, irn);
return ops->impl->get_frame_entity(ops, irn);
}
if(arch_register_req_is(req, should_be_same)) {
- const ir_node *same = get_irn_n(node, req->other_same);
+ const ir_node *same = get_irn_n(skip_Proj_const(node), req->other_same);
ir_snprintf(tmp, sizeof(tmp), " same to: %+F", same);
strncat(buf, tmp, len);
}
if(arch_register_req_is(req, should_be_different)) {
- const ir_node *different = get_irn_n(node, req->other_different);
+ const ir_node *different = get_irn_n(skip_Proj_const(node), req->other_different);
ir_snprintf(tmp, sizeof(tmp), " different to: %+F", different);
strncat(buf, tmp, len);
}