Commit 62cd517c authored by yb9976's avatar yb9976
Browse files

Convert const node to symconst node with the value as entity. That allow us to...

Convert const node to symconst node with the value as entity. That allow us to use existing GrGen features also for floats.

[r20483]
parent f5428bb6
......@@ -164,7 +164,7 @@ static ident *unique_id(const char *tag)
/**
* Get a primitive type for a mode.
*/
static ir_type *get_prim_type(pmap *types, ir_mode *mode)
ir_type *get_prim_type(pmap *types, ir_mode *mode)
{
pmap_entry *e = pmap_find(types, mode);
ir_type *res;
......
......@@ -66,4 +66,9 @@ void ia32_add_missing_keeps(ia32_code_gen_t *cg);
*/
ir_node *ia32_skip_downconv(ir_node *node);
/**
* Get a primitive type for a mode.
*/
ir_type *get_prim_type(pmap *types, ir_mode *mode);
#endif /* FIRM_BE_IA32_IA32_TRANSFORM_H */
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