*
* A fast and simple Escape analysis.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
#include "iroptimize.h"
static ir_node *is_depend_alloc(ir_node *adr) {
ir_node *alloc;
- if (get_irn_op(adr) != op_Sel)
+ if (!is_Sel(adr))
return NULL;
/* should be a simple Sel */
return NULL;
alloc = skip_Proj(get_Sel_ptr(adr));
- if (get_irn_op(alloc) != op_Alloc)
+ if (!is_Alloc(alloc))
return NULL;
/* hmm, we depend on this Alloc */