added AM emitter
[libfirm] / ir / be / bearch.h
index 0ce0f33..1083dd7 100644 (file)
@@ -196,9 +196,10 @@ typedef enum _arch_irn_class_t {
  * Some flags describing a node in more detail.
  */
 typedef enum _arch_irn_flags_t {
-  arch_irn_flags_dont_spill       = 1, /**< This must not be spilled. */
-  arch_irn_flags_rematerializable = 2, /**< This should be replicated instead of spilled/reloaded. */
-  arch_irn_flags_ignore           = 4, /**< Do not consider the node during register allocation. */
+       arch_irn_flags_none             = 0, /**< Node flags. */
+       arch_irn_flags_dont_spill       = 1, /**< This must not be spilled. */
+       arch_irn_flags_rematerializable = 2, /**< This should be replicated instead of spilled/reloaded. */
+       arch_irn_flags_ignore           = 4, /**< Do not consider the node during register allocation. */
 } arch_irn_flags_t;
 
 struct _arch_irn_ops_if_t {
@@ -435,14 +436,6 @@ struct _arch_code_generator_if_t {
         */
        ir_node *(*lower_reload)(void *self, ir_node *reload);
 
-       /**
-        * Called in lowering (e.g. alloca lowering) to set the
-        * correct stack register.
-        * @param self The code generator
-        * @return     The stack register for the current irg
-        */
-       const arch_register_t *(*get_stack_register)(void *self);
-
        /**
         * Called after everything happened.
         * The code generator must also be de-allocated here.