mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 07:44:05 +08:00
jit-builtins.h (DEF_FUNCTION_TYPE_VAR_5): Fix spelling of last argument.
* jit-builtins.h (DEF_FUNCTION_TYPE_VAR_5): Fix spelling of last argument. (DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12): Define and undef afterwards. * jit-builtins.c (DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12): Likewise. @@ -334,6 +343,8 @@ builtins_manager::make_type (enum jit_bu #undef DEF_FUNCTION_TYPE_VAR_3 #undef DEF_FUNCTION_TYPE_VAR_4 #undef DEF_FUNCTION_TYPE_VAR_5 +#undef DEF_FUNCTION_TYPE_VAR_8 +#undef DEF_FUNCTION_TYPE_VAR_12 #undef DEF_POINTER_TYPE default: From-SVN: r219744
This commit is contained in:
parent
8168ece0a1
commit
e989e68d93
@ -1,3 +1,12 @@
|
||||
2015-01-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* jit-builtins.h (DEF_FUNCTION_TYPE_VAR_5): Fix spelling of
|
||||
last argument.
|
||||
(DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12): Define and
|
||||
undef afterwards.
|
||||
* jit-builtins.c (DEF_FUNCTION_TYPE_VAR_8, DEF_FUNCTION_TYPE_VAR_12):
|
||||
Likewise.
|
||||
|
||||
2015-01-15 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
Update copyright years in docs/.
|
||||
|
@ -313,6 +313,15 @@ builtins_manager::make_type (enum jit_builtin_type type_id)
|
||||
case ENUM: return make_fn_type (ENUM, RETURN, 1, 4, ARG1, ARG2, ARG3, ARG4);
|
||||
#define DEF_FUNCTION_TYPE_VAR_5(ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5) \
|
||||
case ENUM: return make_fn_type (ENUM, RETURN, 1, 5, ARG1, ARG2, ARG3, ARG4, ARG5);
|
||||
#define DEF_FUNCTION_TYPE_VAR_8(ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, \
|
||||
ARG6, ARG7, ARG8) \
|
||||
case ENUM: return make_fn_type (ENUM, RETURN, 1, 8, ARG1, ARG2, ARG3, \
|
||||
ARG4, ARG5, ARG6, ARG7, ARG8);
|
||||
#define DEF_FUNCTION_TYPE_VAR_12(ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, \
|
||||
ARG6, ARG7, ARG8, ARG9, ARG10, ARG11, ARG12) \
|
||||
case ENUM: return make_fn_type (ENUM, RETURN, 1, 12, ARG1, ARG2, ARG3, \
|
||||
ARG4, ARG5, ARG6, ARG7, ARG8, ARG9, \
|
||||
ARG10, ARG11, ARG12);
|
||||
#define DEF_POINTER_TYPE(ENUM, TYPE) \
|
||||
case ENUM: return make_ptr_type (ENUM, TYPE);
|
||||
|
||||
@ -334,6 +343,8 @@ builtins_manager::make_type (enum jit_builtin_type type_id)
|
||||
#undef DEF_FUNCTION_TYPE_VAR_3
|
||||
#undef DEF_FUNCTION_TYPE_VAR_4
|
||||
#undef DEF_FUNCTION_TYPE_VAR_5
|
||||
#undef DEF_FUNCTION_TYPE_VAR_8
|
||||
#undef DEF_FUNCTION_TYPE_VAR_12
|
||||
#undef DEF_POINTER_TYPE
|
||||
|
||||
default:
|
||||
|
@ -45,7 +45,12 @@ enum jit_builtin_type
|
||||
#define DEF_FUNCTION_TYPE_VAR_2(NAME, RETURN, ARG1, ARG2) NAME,
|
||||
#define DEF_FUNCTION_TYPE_VAR_3(NAME, RETURN, ARG1, ARG2, ARG3) NAME,
|
||||
#define DEF_FUNCTION_TYPE_VAR_4(NAME, RETURN, ARG1, ARG2, ARG3, ARG4) NAME,
|
||||
#define DEF_FUNCTION_TYPE_VAR_5(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG6) \
|
||||
#define DEF_FUNCTION_TYPE_VAR_5(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5) \
|
||||
NAME,
|
||||
#define DEF_FUNCTION_TYPE_VAR_8(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, \
|
||||
ARG6, ARG7, ARG8) NAME,
|
||||
#define DEF_FUNCTION_TYPE_VAR_12(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, \
|
||||
ARG6, ARG7, ARG8, ARG9, ARG10, ARG11, ARG12) \
|
||||
NAME,
|
||||
#define DEF_POINTER_TYPE(NAME, TYPE) NAME,
|
||||
#include "builtin-types.def"
|
||||
@ -65,6 +70,8 @@ enum jit_builtin_type
|
||||
#undef DEF_FUNCTION_TYPE_VAR_3
|
||||
#undef DEF_FUNCTION_TYPE_VAR_4
|
||||
#undef DEF_FUNCTION_TYPE_VAR_5
|
||||
#undef DEF_FUNCTION_TYPE_VAR_8
|
||||
#undef DEF_FUNCTION_TYPE_VAR_12
|
||||
#undef DEF_POINTER_TYPE
|
||||
BT_LAST
|
||||
}; /* enum jit_builtin_type */
|
||||
|
Loading…
Reference in New Issue
Block a user