From 6d7c55e548ceb52411ba005eec363413f2b5ad51 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 12 Sep 2007 17:03:48 +0000 Subject: [PATCH] add a modify_flags flag [r15760] --- ir/be/bearch.h | 3 ++- ir/be/bearch_t.h | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ir/be/bearch.h b/ir/be/bearch.h index 48b247b9e..07c583030 100644 --- a/ir/be/bearch.h +++ b/ir/be/bearch.h @@ -123,7 +123,8 @@ typedef enum arch_irn_flags_t { arch_irn_flags_rematerializable = 2, /**< This can be replicated instead of spilled/reloaded. */ arch_irn_flags_ignore = 4, /**< Ignore node during register allocation. */ arch_irn_flags_modify_sp = 8, /**< I modify the stack pointer. */ - arch_irn_flags_last = arch_irn_flags_modify_sp + arch_irn_flags_modify_flags = 16, /**< I modify flags. */ + arch_irn_flags_last = arch_irn_flags_modify_flags } arch_irn_flags_t; /** diff --git a/ir/be/bearch_t.h b/ir/be/bearch_t.h index 6466cd2fb..96939178b 100644 --- a/ir/be/bearch_t.h +++ b/ir/be/bearch_t.h @@ -81,10 +81,11 @@ const char *_arch_register_get_name(const arch_register_t *reg) * Like general purpose or floating point. */ struct arch_register_class_t { - const char *name; /**< The name of the register class. */ - int n_regs; /**< Number of registers in this class. */ - ir_mode *mode; /**< The mode of the register class. */ - const arch_register_t *regs; /**< The array of registers. */ + const char *name; /**< The name of the register class.*/ + int n_regs; /**< Number of registers in this + class. */ + ir_mode *mode; /**< The mode of the register class.*/ + const arch_register_t *regs; /**< The array of registers. */ }; /** return the number of registers in this register class */ -- 2.20.1