# include "irvrfy.h"
# include "tv.h"
+/* Make types visible to allow most efficient access */
+# include "entity_t.h"
+
/* Trivial inlineable routine for copy propagation.
Does follow Ids, needed to optimize inlined code. */
static inline ir_node *
tarval *tv;
ir_node *old_n = n;
- if (!get_optimize()) return NULL;
+ if ((!get_optimize()) && (get_irn_op(n) != op_Phi)) return n;
/* if not optimize return n */
if (n == NULL) {
/* Remove nodes with dead (Bad) input. */
n = gigo (n);
/* Now we can verify the node, as it has no dead inputs any more. */
- ir_vrfy(n);
+ irn_vrfy(n);
/* Now we have a legal, useful node. Enter it in hash table for cse */
if (get_opt_cse()) {
/* Remove nodes with dead (Bad) input. */
n = gigo (n);
/* Now we can verify the node, as it has no dead inputs any more. */
- ir_vrfy(n);
+ irn_vrfy(n);
/* Now we have a legal, useful node. Enter it in hash table for cse */
if (get_opt_cse()) {