Commit c32d4bcf by Arnaud Charlet

Refine previous change.

From-SVN: r177149
parent 76e5271b
...@@ -929,11 +929,6 @@ extern bool default_pass_by_ref (tree gnu_type); ...@@ -929,11 +929,6 @@ extern bool default_pass_by_ref (tree gnu_type);
if it should be passed by reference. */ if it should be passed by reference. */
extern bool must_pass_by_ref (tree gnu_type); extern bool must_pass_by_ref (tree gnu_type);
/* This function is called by the front-end to enumerate all the supported
modes for the machine, as well as some predefined C types. */
extern void enumerate_modes (void (*f) (const char *, int, int, int, int, int,
int));
/* Return the size of the FP mode with precision PREC. */ /* Return the size of the FP mode with precision PREC. */
extern int fp_prec_to_size (int prec); extern int fp_prec_to_size (int prec);
...@@ -970,6 +965,11 @@ extern Nat get_target_strict_alignment (void); ...@@ -970,6 +965,11 @@ extern Nat get_target_strict_alignment (void);
extern Nat get_target_double_float_alignment (void); extern Nat get_target_double_float_alignment (void);
extern Nat get_target_double_scalar_alignment (void); extern Nat get_target_double_scalar_alignment (void);
/* This function is called by the front-end to enumerate all the supported
modes for the machine, as well as some predefined C types. */
extern void enumerate_modes (void (*f) (const char *, int, int, int, int, int,
int));
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -637,10 +637,6 @@ must_pass_by_ref (tree gnu_type) ...@@ -637,10 +637,6 @@ must_pass_by_ref (tree gnu_type)
&& TREE_CODE (TYPE_SIZE (gnu_type)) != INTEGER_CST)); && TREE_CODE (TYPE_SIZE (gnu_type)) != INTEGER_CST));
} }
#ifdef __cplusplus
extern "C" {
#endif
/* This function is called by the front-end to enumerate all the supported /* This function is called by the front-end to enumerate all the supported
modes for the machine, as well as some predefined C types. F is a function modes for the machine, as well as some predefined C types. F is a function
which is called back with the parameters as listed below, first a string, which is called back with the parameters as listed below, first a string,
...@@ -759,11 +755,6 @@ enumerate_modes (void (*f) (const char *, int, int, int, int, int, int)) ...@@ -759,11 +755,6 @@ enumerate_modes (void (*f) (const char *, int, int, int, int, int, int))
} }
} }
#ifdef __cplusplus
}
#endif
/* Return the size of the FP mode with precision PREC. */ /* Return the size of the FP mode with precision PREC. */
int int
......
Markdown is supported
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