aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-streamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-streamer.c')
-rw-r--r--gcc/tree-streamer.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c
index 7b35358..2eb0305 100644
--- a/gcc/tree-streamer.c
+++ b/gcc/tree-streamer.c
@@ -53,6 +53,14 @@ along with GCC; see the file COPYING3. If not see
#include "cgraph.h"
#include "tree-streamer.h"
+/* Table indexed by machine_mode, used for 2 different purposes.
+ During streaming out we record there non-zero value for all modes
+ that were streamed out.
+ During streaming in, we translate the on the disk mode using this
+ table. For normal LTO it is set to identity, for ACCEL_COMPILER
+ depending on the mode_table content. */
+unsigned char streamer_mode_table[1 << 8];
+
/* Check that all the TS_* structures handled by the streamer_write_* and
streamer_read_* routines are exactly ALL the structures defined in
treestruct.def. */