Good day and welcome to the FIRM XMALLOC*() macros. These macros are provided for...
[libfirm] / ir / be / ia32 / ia32_address_mode.c
index 9d4db43..487b596 100644 (file)
@@ -418,6 +418,11 @@ void ia32_mark_non_am(ir_node *node)
        bitset_set(non_address_mode_nodes, get_irn_idx(node));
 }
 
+int ia32_is_non_address_mode_node(ir_node *node)
+{
+       return bitset_is_set(non_address_mode_nodes, get_irn_idx(node));
+}
+
 static int value_last_used_here(ir_node *here, ir_node *value)
 {
        ir_node *block = get_nodes_block(here);
@@ -441,7 +446,7 @@ static int value_last_used_here(ir_node *here, ir_node *value)
 
 /**
  * Walker: mark those nodes that cannot be part of an address mode because
- * there value must be access through an register
+ * their value must be accessed through a register
  */
 static void mark_non_address_nodes(ir_node *node, void *env)
 {