X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbearch.h;h=6a688660e257772a6755459e283650e6698ced2a;hb=fc9bc377a4efe064fe1998121e52ba97ce4da415;hp=8218df06191db566ba5c1265f8ee861688b8f87b;hpb=e88385016800d3c56c3fa09770e9f7995c42e106;p=libfirm diff --git a/ir/be/bearch.h b/ir/be/bearch.h index 8218df061..6a688660e 100644 --- a/ir/be/bearch.h +++ b/ir/be/bearch.h @@ -40,6 +40,13 @@ #include "beirg.h" #include "error.h" +/** + * this constant is returned by the get_sp_bias functions if the stack + * is reset (usually because the frame pointer is copied to the stack + * pointer + */ +#define SP_BIAS_RESET INT_MIN + typedef enum arch_register_class_flags_t { arch_register_class_flag_none = 0, /** don't do automatic register allocation for this class */ @@ -611,8 +618,6 @@ struct arch_env_t { const arch_register_t *bp; /**< The base pointer register. */ const arch_register_class_t *link_class; /**< The static link pointer register class. */ - 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 */