/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
#ifdef WITH_JVM
-#include <libcore/lc_opts.h>
-#include <libcore/lc_opts_enum.h>
+#include "lc_opts.h"
+#include "lc_opts_enum.h"
#include <stdlib.h>
#include <limits.h>
}
}
- node_map = xmalloc((get_irg_last_idx(co->irg) + 1) * sizeof(node_map[0]));
- inv_node_map = xmalloc((get_irg_last_idx(co->irg) + 1) * sizeof(inv_node_map[0]));
+ node_map = XMALLOC(int, get_irg_last_idx(co->irg) + 1);
+ inv_node_map = XMALLOC(int, get_irg_last_idx(co->irg) + 1);
curr_idx = 0;
be_ifg_foreach_node(ifg, nodes_it, n) {