summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-16 12:42:47 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-18 11:20:55 +0100
commit1289d1b6a61462bcdf9ac3d64ac484e0d728e474 (patch)
tree981c8d025e5c2ef90858bed5acbca5e627e405b3 /ir/be/bearch.h
parent87447272fc6b7b2cc645730370ebdb4d9b9e3116 (diff)
be: Remove the pointer to the isa interface from the arch env.
Just use the selected isa interface directly.
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index b622804..d6173b7 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -390,18 +390,10 @@ struct arch_isa_if_t {
void (*emit)(ir_graph *irg);
};
-#define arch_env_end_codegeneration(env) ((env)->impl->end_codegeneration(env))
-#define arch_env_mark_remat(env,node) \
- do { if ((env)->impl->mark_remat != NULL) (env)->impl->mark_remat((node)); } while(0)
-
-#define arch_env_new_spill(env,value,after) ((env)->impl->new_spill(value, after))
-#define arch_env_new_reload(env,value,spilled,before) ((env)->impl->new_reload(value, spilled, before))
-
/**
* ISA base class.
*/
struct arch_env_t {
- const arch_isa_if_t *impl;
unsigned n_registers; /**< number of registers */
const arch_register_t *registers; /**< register array */
/** number of register classes*/