Commit 6b9a779d authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Remove the attribute sp from struct arch_env_t.

parent 01fb70d6
......@@ -110,7 +110,6 @@ static TEMPLATE_isa_t TEMPLATE_isa_template = {
.registers = TEMPLATE_registers,
.n_register_classes = N_TEMPLATE_CLASSES,
.register_classes = TEMPLATE_reg_classes,
.sp = &TEMPLATE_registers[REG_SP],
.spill_cost = 7,
.reload_cost = 5,
},
......
......@@ -653,7 +653,6 @@ static amd64_isa_t amd64_isa_template = {
.registers = amd64_registers,
.n_register_classes = N_AMD64_CLASSES,
.register_classes = amd64_reg_classes,
.sp = &amd64_registers[REG_RSP],
.spill_cost = 7,
.reload_cost = 5,
},
......
......@@ -248,7 +248,6 @@ static arm_isa_t arm_isa_template = {
.registers = arm_registers,
.n_register_classes = N_ARM_CLASSES,
.register_classes = arm_reg_classes,
.sp = &arm_registers[REG_SP],
.spill_cost = 7,
.reload_cost = 5,
},
......
......@@ -449,7 +449,6 @@ struct arch_env_t {
unsigned n_register_classes;
/** register classes */
const arch_register_class_t *register_classes;
const arch_register_t *sp; /**< The stack pointer register. */
unsigned spill_cost; /**< cost for a be_Spill node */
unsigned reload_cost; /**< cost for a be_Reload node */
};
......
......@@ -1564,7 +1564,6 @@ static ia32_isa_t ia32_isa_template = {
.registers = ia32_registers,
.n_register_classes = N_IA32_CLASSES,
.register_classes = ia32_reg_classes,
.sp = &ia32_registers[REG_ESP],
.spill_cost = 7,
.reload_cost = 5,
},
......
......@@ -63,7 +63,6 @@ static sparc_isa_t sparc_isa_template = {
.registers = sparc_registers,
.n_register_classes = N_SPARC_CLASSES,
.register_classes = sparc_reg_classes,
.sp = &sparc_registers[REG_SP],
.spill_cost = 7,
.reload_cost = 5,
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment