/*
- * 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.
*
*
* A fast and simple Escape analysis.
*/
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include "iroptimize.h"
+
#include "irgraph_t.h"
#include "irnode_t.h"
#include "type_t.h"
#include "analyze_irg_args.h"
#include "irgmod.h"
#include "ircons.h"
-#include "escape_ana.h"
#include "debug.h"
/**
if (tv != tarval_bad && tarval_is_long(tv) &&
get_type_state(atp) == layout_fixed &&
- get_tarval_long(tv) == get_type_size_bytes(atp)) {
+ (unsigned)get_tarval_long(tv) == get_type_size_bytes(atp)) {
/* a already lowered type size */
tp = atp;
}
if (tp && tp != firm_unknown_type) {
/* we could determine the type, so we could place it on the frame */
dbg = get_irn_dbg_info(alloc);
+ blk = get_nodes_block(alloc);
DBG((dbgHandle, LEVEL_DEFAULT, "%+F allocation of %+F type %+F placed on frame\n", irg, alloc, tp));
int i;
struct obstack obst;
walk_env_t *env, *elist;
+ (void) run_scalar_replace;
if (get_irp_callee_info_state() != irg_callee_info_consistent) {
assert(! "need callee info");