#include <assert.h>
-#include "tropt.h"
-
+#include "iroptimize.h"
#include "irprog.h"
-#include "mangle.h"
-
-#include "tr_inheritance.h"
#include "irtypeinfo.h"
#include "irgwalk.h"
#include "irsimpletype.h"
static void normalize_irn_class_cast(ir_node *n, void *env) {
ir_node *res;
+ (void) env;
if (get_irn_op(n) == op_Cast) {
ir_node *pred = get_Cast_op(n);
ir_type *totype = get_Cast_type(n);
* Post-Walker:
*/
static void irn_optimize_class_cast(ir_node *n, void *env) {
+ (void) env;
if (get_irn_op(n) == op_Cast)
cancel_out_casts(n);
else if (get_irn_op(n) == op_Sel)