functions.c
// Convert stack_index in value v to a parameter in the stack
Convert stack_index in value v to a parameter in the stack
Convert stack_index in value v to a parameter in the stack
static void convert_register_param_stack_index_to_stack(Function *function, int *register_param_stack_indexes, Value *v) {
    if (v && v->stack_index >= 2 && register_param_stack_indexes[v->stack_index  - 2]) {
        v->stack_index = register_param_stack_indexes[v->stack_index  - 2];
        v->is_lvalue = 0;
    }
}
static void convert_register_param_stack_index_to_stack ( Function * function , int * register_param_stack_indexes , Value * v ) { if ( v && v -> stack_index >= 2 && register_param_stack_indexes [ v -> stack_index - 2 ] ) { v -> stack_index = register_param_stack_indexes [ v -> stack_index - 2 ] ; v -> is_lvalue = 0 ; } }
Convert stack_index in value v to a parameter in the stack
Convert stack_index in value v to a parameter in the stack