- added peephole optimization: transform Load->IncSP combinations to Pop where possible
[libfirm] / ir / be / bearch_t.h
index 1e7c93b..3709b7e 100644 (file)
@@ -543,13 +543,13 @@ struct arch_isa_if_t {
  */
 struct arch_env_t {
        const arch_isa_if_t   *impl;
-       const arch_register_t *sp;        /** The stack pointer register. */
-       const arch_register_t *bp;        /** The base pointer register. */
-       int                    stack_dir; /** -1 for decreasing, 1 for increasing. */
-       int                    stack_alignment; /** stack alignment */
-       const be_main_env_t   *main_env;  /** the be main environment */
-       int                    spill_cost;  /** cost for a be_Spill node */
-       int                    reload_cost; /** cost for a be_Reload node */
+       const arch_register_t *sp;              /** The stack pointer register. */
+       const arch_register_t *bp;              /** The base pointer register. */
+       int                    stack_dir;       /** -1 for decreasing, 1 for increasing. */
+       int                    stack_alignment; /** power of 2 stack alignment */
+       const be_main_env_t   *main_env;        /** the be main environment */
+       int                    spill_cost;      /** cost for a be_Spill node */
+       int                    reload_cost;     /** cost for a be_Reload node */
 };
 
 #define arch_env_stack_dir(env)  ((env)->stack_dir)