*/
void amd64_gen_routine(const amd64_code_gen_t *cg, ir_graph *irg)
{
- (void)cg;
ir_entity *entity = get_irg_entity(irg);
ir_node **blk_sched;
int i, n;
+ (void)cg;
/* register all emitter functions */
amd64_register_emitters();
static ir_node *gen_Const(ir_node *node) {
ir_node *block = be_transform_node(get_nodes_block(node));
ir_mode *mode = get_irn_mode(node);
+ ir_node *res = create_const_graph(node, block);
(void) mode;
- ir_node *res = create_const_graph(node, block);
- be_dep_on_frame (res);
+ be_dep_on_frame(res);
return res;
}
ir_mode *mode;
int i, n = get_method_n_params(method_type);
be_abi_call_flags_t call_flags;
+ int no_reg = 0;
+
(void) self;
/* set abi flags for calls */
/* set stack parameter passing style */
be_abi_call_set_flags(abi, call_flags, &amd64_abi_callbacks);
- int no_reg = 0;
-
for (i = 0; i < n; i++) {
tp = get_method_param_type(method_type, i);
mode = get_type_mode(tp);