#include <assert.h>
+#include "iroptimize.h"
#include "obst.h"
#include "irnode_t.h"
#include "cdep.h"
#include "ircons.h"
-#include "ifconv.h"
#include "irdom.h"
#include "irgmod.h"
#include "irgopt.h"
#include "irgwalk.h"
#include "irtools.h"
-#include "return.h"
#include "array.h"
#include "xmalloc.h"
DB((dbg, LEVEL_2, "Generating %+F for %+F\n", psi, phi));
}
- /* only exchange if we have a Psi */
if (arity == 2) {
exchange(phi, psi);
} else {
return;
/* get the parameters */
- if (params)
- memcpy(&p, params, sizeof(p));
- else
- memcpy(&p, &default_info, sizeof(p));
+ p = (params != NULL ? *params : default_info);
FIRM_DBG_REGISTER(dbg, "firm.opt.ifconv");