the type 'type' is now called ir_type
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 27 Dec 2005 16:33:35 +0000 (16:33 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 27 Dec 2005 16:33:35 +0000 (16:33 +0000)
The old 'type' still exists, but is deprecated from now and will be
removed in the next releases.

[r7149]

ir/common/firm_types.h
ir/tr/type.h

index 94d7647..5feaf6b 100644 (file)
@@ -43,7 +43,12 @@ typedef struct tarval tarval;
 
 #ifndef _TYPE_TYPEDEF_
 #define _TYPE_TYPEDEF_
-typedef struct type type;
+typedef struct ir_type type;
+#endif
+
+#ifndef _IR_TYPE_TYPEDEF_
+#define _IR_TYPE_TYPEDEF_
+typedef struct ir_type ir_type;
 #endif
 
 #ifndef _IR_GRAPH_TYPEDEF_
index eefe552..98989dd 100644 (file)
  */
 #ifndef _TYPE_TYPEDEF_
 #define _TYPE_TYPEDEF_
-typedef struct type type;
+typedef struct ir_type type;
 #endif
 
 # include "type_or_entity.h"
@@ -814,7 +814,7 @@ typedef enum {
   cc_this_call        = 0x08000000, /**< The first parameter is a this pointer and is transmitted
                                          in a special way. */
 
-  /* some ofter used cases */
+  /* some often used cases */
   cc_cdecl_set        = 0,                                /**< cdecl calling convention */
   cc_stdcall_set      = cc_callee_clear_stk,              /**< stdcall calling convention */
   cc_fastcall_set     = cc_reg_param|cc_callee_clear_stk, /**< fastcall calling convention */