aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-section-out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto-section-out.c')
-rw-r--r--gcc/lto-section-out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/lto-section-out.c b/gcc/lto-section-out.c
index 7f44d6e..fe3cc54 100644
--- a/gcc/lto-section-out.c
+++ b/gcc/lto-section-out.c
@@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
#include "pointer-set.h"
#include "bitmap.h"
#include "langhooks.h"
+#include "data-streamer.h"
#include "lto-streamer.h"
#include "lto-compress.h"
@@ -303,7 +304,7 @@ lto_output_decl_index (struct lto_output_stream *obs,
}
if (obs)
- lto_output_uleb128_stream (obs, index);
+ streamer_write_uhwi_stream (obs, index);
*this_index = index;
return new_entry_p;
}