Commit c4d387cb authored by yb9976's avatar yb9976
Browse files

Moved global variable heights to ia32_common_transform.

[r21082]
parent 067e9cbd
......@@ -41,7 +41,9 @@
#include "gen_ia32_regalloc_if.h"
/** hold the current code generator during transformation */
ia32_code_gen_t *env_cg = NULL;
ia32_code_gen_t *env_cg = NULL;
heights_t *heights = NULL;
static const arch_register_req_t no_register_req = {
arch_register_req_type_none,
......
......@@ -28,6 +28,7 @@
#define FIRM_BE_IA32_IA32_COMMON_TRANSFORM_H
#include "bearch_ia32_t.h"
#include "height.h"
/**
* An assembler constraint.
......@@ -43,6 +44,7 @@ struct constraint_t {
};
extern ia32_code_gen_t *env_cg;
extern heights_t *heights;
/**
* Get an atomic entity that is initialized with a tarval forming
......
......@@ -95,7 +95,6 @@
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
static ir_node *initial_fpcw = NULL;
static heights_t *heights = NULL;
extern ir_op *get_op_Mulh(void);
......
Supports Markdown
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