Add
/* params_reg_ordered_size holds the number of register params in reg_params_order[] order */
int params_reg_ordered_size;
/* params_reg_ordered holds the label for each reg param ordered per reg_params_order[] */
int *params_reg_ordered;
/* params_stack_ordered_size holds the number of stack params */
int params_stack_ordered_size;
int *params_stack_ordered;
FIXED: moved check for NULL extension so that it does not get optimized out.
Updated to output params from params_reg_ordered.
Tempory disable check until call->extension is implemented.