Commit 397df28f authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Remove the write-only/unused attributes isa and irg from struct ia32_intrinsic_env_t.

parent 4f9018bf
......@@ -109,8 +109,6 @@ static ir_entity *omit_fp_ret_addr_ent = NULL;
* The environment for the intrinsic mapping.
*/
static ia32_intrinsic_env_t intrinsic_env = {
NULL, /* the isa */
NULL, /* the irg, these entities belong to */
NULL, /* entity for __divdi3 library call */
NULL, /* entity for __moddi3 library call */
NULL, /* entity for __udivdi3 library call */
......@@ -1660,9 +1658,6 @@ static arch_env_t *ia32_begin_codegeneration(const be_main_env_t *env)
*isa = ia32_isa_template;
isa->tv_ent = pmap_create();
/* enter the ISA object into the intrinsic environment */
intrinsic_env.isa = isa;
be_emit_init(env->file_handle);
be_gas_begin_compilation_unit(env);
......
......@@ -72,8 +72,6 @@ struct ia32_isa_t {
* A helper type collecting needed info for IA32 intrinsic lowering.
*/
struct ia32_intrinsic_env_t {
ia32_isa_t *isa; /**< the isa object */
ir_graph *irg; /**< the irg, these entities belong to */
ir_entity *divdi3; /**< entity for __divdi3 library call */
ir_entity *moddi3; /**< entity for __moddi3 library call */
ir_entity *udivdi3; /**< entity for __udivdi3 library call */
......
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