Unified · Split
| @@ -90,6 +90,10 @@ static void vla_runtime_type_size(CType *type, int *a); · 89 unmodified lines | ||
| 90 | 90 | static void vla_sp_save(void); |
| 91 | 91 | static int is_compatible_parameter_types(CType *type1, CType *type2); |
| 92 | 92 | static void expr_type(CType *type); |
| 93 | +ST_FUNC void vpush64(int ty, unsigned long long v); | |
| 94 | +ST_FUNC void vpush(CType *type); | |
| 95 | +ST_FUNC int gvtst(int inv, int t); | |
| 96 | +ST_FUNC int is_btype_size(int bt); | |
| 93 | 97 | |
| 94 | 98 | ST_INLN int is_float(int t) |
| 95 | 99 | { |
| @@ -328,7 +332,7 @@ static void vsetc(CType *type, int r, CValue *vc) · 232 unmodified lines | ||
| 328 | 332 | } |
| 329 | 333 | |
| 330 | 334 | /* push constant of type "type" with useless value */ |
| 331 | −void vpush(CType *type) | |
| 335 | +ST_FUNC void vpush(CType *type) | |
| 332 | 336 | { |
| 333 | 337 | CValue cval; |
| 334 | 338 | vsetc(type, VT_CONST, &cval); |
| @@ -351,7 +355,7 @@ static void vpushs(addr_t v) · 16 unmodified lines | ||
| 351 | 355 | } |
| 352 | 356 | |
| 353 | 357 | /* push arbitrary 64bit constant */ |
| 354 | −void vpush64(int ty, unsigned long long v) | |
| 358 | +ST_FUNC void vpush64(int ty, unsigned long long v) | |
| 355 | 359 | { |
| 356 | 360 | CValue cval; |
| 357 | 361 | CType ctype; |
| @@ -1097,7 +1101,7 @@ static void gv_dup(void) · 739 unmodified lines | ||
| 1097 | 1101 | /* Generate value test |
| 1098 | 1102 | * |
| 1099 | 1103 | * Generate a test for any value (jump, comparison and integers) */ |
| 1100 | −int gvtst(int inv, int t) | |
| 1104 | +ST_FUNC int gvtst(int inv, int t) | |
| 1101 | 1105 | { |
| 1102 | 1106 | int v = vtop->r & VT_VALMASK; |
| 1103 | 1107 | if (v != VT_CMP && v != VT_JMP && v != VT_JMPI) { |
| @@ -2987,7 +2991,7 @@ static void struct_decl(CType *type, int u, int tdef) · 1883 unmodified lines | ||
| 2987 | 2991 | } |
| 2988 | 2992 | |
| 2989 | 2993 | /* return 1 if basic type is a type size (short, long, long long) */ |
| 2990 | −int is_btype_size (int bt) | |
| 2994 | +ST_FUNC int is_btype_size(int bt) | |
| 2991 | 2995 | { |
| 2992 | 2996 | return bt == VT_SHORT || bt == VT_LONG || bt == VT_LLONG; |
| 2993 | 2997 | } |