Convert const node to symconst node with the value as entity. That allow us to use...
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 15 Jul 2008 16:59:11 +0000 (16:59 +0000)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Tue, 15 Jul 2008 16:59:11 +0000 (16:59 +0000)
[r20483]

ir/be/ia32/ia32_transform.c
ir/be/ia32/ia32_transform.h

index 0bfecf5..df433c8 100644 (file)
@@ -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;
index 44d6353..cf604f5 100644 (file)
@@ -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 */