summaryrefslogtreecommitdiff
path: root/gcc/builtins.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2016-09-27 11:01:05 +0100
committerRichard Sandiford <richard.sandiford@linaro.org>2017-06-07 16:08:29 +0100
commitfc143c25970fee0b6d24a8879ab1317d685a63af (patch)
treeb35eb5e7df863786ed556167741551b51d9272e4 /gcc/builtins.h
parent0fb7d3d5f1956de21e25a7dc79a6d7182d08ab7a (diff)
downloadgcc-fc143c25970fee0b6d24a8879ab1317d685a63af.tar.gz
Add a fixed_size_mode_pod class
This patch adds a POD version of fixed_size_mode. The only current use is for storing the __builtin_apply and __builtin_result register modes, which were made fixed_size_modes by the previous patch.
Diffstat (limited to 'gcc/builtins.h')
-rw-r--r--gcc/builtins.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/builtins.h b/gcc/builtins.h
index 4ae70566f59..8bcae4a2299 100644
--- a/gcc/builtins.h
+++ b/gcc/builtins.h
@@ -29,14 +29,14 @@ struct target_builtins {
the register is not used for calling a function. If the machine
has register windows, this gives only the outbound registers.
INCOMING_REGNO gives the corresponding inbound register. */
- machine_mode x_apply_args_mode[FIRST_PSEUDO_REGISTER];
+ fixed_size_mode_pod x_apply_args_mode[FIRST_PSEUDO_REGISTER];
/* For each register that may be used for returning values, this gives
a mode used to copy the register's value. VOIDmode indicates the
register is not used for returning values. If the machine has
register windows, this gives only the outbound registers.
INCOMING_REGNO gives the corresponding inbound register. */
- machine_mode x_apply_result_mode[FIRST_PSEUDO_REGISTER];
+ fixed_size_mode_pod x_apply_result_mode[FIRST_PSEUDO_REGISTER];
};
extern struct target_builtins default_target_builtins;