*/
static void *ppc32_abi_init(const be_abi_call_t *call, const arch_env_t *aenv, ir_graph *irg)
{
- (void) aenv;
ppc32_abi_env *env = xmalloc(sizeof(ppc32_abi_env));
+ (void) aenv;
+
env->call = call;
env->irg = irg;
return env;
* Returns the necessary byte alignment for storing a register of given class.
*/
static int ppc32_get_reg_class_alignment(const void *self, const arch_register_class_t *cls) {
- (void) self;
ir_mode *mode = arch_register_class_mode(cls);
+ (void) self;
+
return get_mode_size_bytes(mode);
}